Any help on this? If it helps, I want the macro to be a function. For example:
#ifndef _WINDOWS_H
#define test(); #warning <windows.h> needs to be included for this function!
#endif
int main(void)
{
test();
return 0;
}
If it's not possible to do this way, is there another way to do it, which will give a warning instead of the function, in case the function cannot be used?
Last edited by unbeatable0; Oct 8th, 2008 at 4:46 am.