Code: Select all
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE NOT(FALSE)
#endif
or something similar, which sets true to the opposite of zero, which will never cause problems even if the value of true (1/ -1) is changed.
Code: Select all
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE NOT(FALSE)
#endif