Header 1 : fml32.h
#ifndef TMENV_H
#include <tmenv.h>
#endif
_TMIFML32 extern char *Femsgs32[];
Header 2 : tmenv.h
#ifndef TMENV_H
#define TMENV_H 1
#define _TMIFML32
#endif
I'm trying to compile a .cpp file that includes "fml32.h". It's throwing an error from fml32.h saying:
error: '_TMIFML32' does not name a type
TMENV_H is not defined anywhere. Tried commenting #ifndef TMENV_H
and its endif
from Header 2 because I was suspecting that control is not reaching #define _TMIFML32
. But still the same error. Can anyone help on this? Would be really grateful.