JY
2010-04-22 14:28:02 UTC
Hi,
I'm trying to #define a parameter like,
#define MY_CONFIG_PARAM 0
in a header file, and then trying to check its value later (in the same
header)
#if $(MY_CONFIG_PARAM) != 0
#define SOMETHING_ELSE
#endif
and I need to do something similar in make files.
In the Visual Studio environment (VS 2005 SP1) it gives me errors when I add
this to the header file. What would be the correct definitions?
TIA,
JY
I'm trying to #define a parameter like,
#define MY_CONFIG_PARAM 0
in a header file, and then trying to check its value later (in the same
header)
#if $(MY_CONFIG_PARAM) != 0
#define SOMETHING_ELSE
#endif
and I need to do something similar in make files.
In the Visual Studio environment (VS 2005 SP1) it gives me errors when I add
this to the header file. What would be the correct definitions?
TIA,
JY