2013-03-27 02:17:28 +08:00
|
|
|
// Set up so TypeInt only defined during InconsistentHeader1.h include.
|
2013-03-26 09:18:28 +08:00
|
|
|
#ifdef SYMBOL1
|
|
|
|
#define SYMBOL 1
|
2013-09-04 02:38:32 +08:00
|
|
|
#define FUNC_STYLE(a, b) a||b
|
2013-03-26 09:18:28 +08:00
|
|
|
#endif
|
|
|
|
#ifdef SYMBOL2
|
|
|
|
#define SYMBOL 2
|
2013-09-04 02:38:32 +08:00
|
|
|
#define FUNC_STYLE(a, b) a&&b
|
2013-03-26 09:18:28 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if SYMBOL == 1
|
|
|
|
typedef int TypeInt;
|
|
|
|
#endif
|
2013-07-27 08:54:17 +08:00
|
|
|
|
|
|
|
int var = FUNC_STYLE(1, 0);
|
|
|
|
|
|
|
|
#if defined(SYMBOL1)
|
|
|
|
#endif
|