L
lallous
Usually you can check for a defined variable as:
#ifdef DEF1
// do stuff here
#endif
Can I test if a function is defined then do things, example:
int myFnc()
{
// blah blah
}
Later I do this:
#ifndef myFnc
#error myFnc does not exist!
#endif
Is there is a way to do that?
#ifdef DEF1
// do stuff here
#endif
Can I test if a function is defined then do things, example:
int myFnc()
{
// blah blah
}
Later I do this:
#ifndef myFnc
#error myFnc does not exist!
#endif
Is there is a way to do that?