Guys,
I have put the following two lines in a header file to prevent it
from getting included multiple times.
#ifndef __MY_HDR.H__
#define __MY_HDR.H__
// Some macros here
#endif
However, when I compile the code, I am getting following warnings,
warning: extra token at end of #ifndef directive
warning ISO C requires whitespace after the macro name
Can anyone help me finding the problem ?
thnaks a lot for any help.
I have put the following two lines in a header file to prevent it
from getting included multiple times.
#ifndef __MY_HDR.H__
#define __MY_HDR.H__
// Some macros here
#endif
However, when I compile the code, I am getting following warnings,
warning: extra token at end of #ifndef directive
warning ISO C requires whitespace after the macro name
Can anyone help me finding the problem ?
thnaks a lot for any help.
Comment