For example there is a ENUM_INDICATOR
type which I'd like to undefine and replace with my own, e.g.
#undef ENUM_INDICATOR
#undef IND_AC
#undef IND_AD
#undef IND_AC
#ifndef ENUM_INDICATOR
enum ENUM_INDICATOR {
IND_AC,
IND_AD,
IND_NONE,
}
#endif
However none of above works, because compiler complains as below:
'ENUM_INDICATOR' - enumeration already defined
'IND_AC' - enumerator identifier already defined
Is there any chance to undefine or remove the existing builtin enum types?