/* * Reduced set of std-macros. The prob with the full set is that they conflict * with some of what iv wants to define. */ #ifndef stdmacrosIncluded #define stdmacrosIncluded #define bool unsigned #ifndef iv_defs_h #define bool unsigned static const bool false = 0; static const bool true = 1; #endif #define null 0 #define not ! #define and && #define or || #define streq(s1,s2) strcmp(s1,s2)==0 #define newstr(s) strcpy(new char[strlen(s)+1], s) #endif