Am facing a problem in resolving dependencies in C,
config.h file is as follows,
...
....
/* MACRO */
/* #undef MACRO */
....
....
And a file example.c contains,
...
#ifdef MACRO
#include "../../sample_header.h"
#endif
...
while resolving dependencies, the compiler is trying to resolve the sample_header.h file even though the "MACRO" is not enabled. Its very weird. Could anyone help on this issue.