forked from qt-creator/qt-creator
If two files from different (sub-)projects include the same header file, and the defined macros differ for both files, the header file will be parsed with only the appropriate macros for the including file. Task-number: QTCREATORBUG-9802 Task-number: QTCREATORBUG-1249 Change-Id: I560490afa287b3bb1e863bce1bb4f57af36ad56e Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
10 lines
84 B
C++
10 lines
84 B
C++
#include "header.h"
|
|
|
|
#ifdef BUS_ONE
|
|
int one;
|
|
#endif
|
|
|
|
#ifdef BUS_TWO
|
|
int two;
|
|
#endif
|