The reverse
engineering tool reacts to preprocessor conditions
(#if...#ifdef...#else...#endif) just as a compiler
does. The preprocessor condition structure is not read by the reverse
engineering parser, and the only data received is the data inside
valid preprocessor conditions.
About this task
Consider
the following code in a source
file:
#ifdef _STDC
#define _A
#else
#define_B
#endif
- If _STDC is known
by the preprocessor,
the result of importing this file will be the creation of a user type
named _A with the following declaration:
#define %s
- If _STDC is
not known
by the preprocessor, the result of importing this file will be the
creation of a user type named _B with the following
declaration:
#define %s