Separate files cannot see definitions
Hello. I have a problem with c ( not c++ )
Lets say I have a header system.h
And other file load.h
1 2 3 4 5
|
#include "system.h"
#ifdef PC
blablabla
#endif
|
But blablabla never gets executed. Am I missing something here?
PC should be defined in load.h after including system.h unless there's another included header #undefing it.
Topic archived. No new replies allowed.