X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fglobal%2Fgenint1.h;h=c098f2a1ed76ee5c71b650fdd9705fa3c19c60c4;hb=cec0990bb3507f23b196891002cd25f80e8bbb40;hp=60434b2aad96bc191a2e3064a5f0dd42f24bb80a;hpb=e447dd1d43345ebb77560103e61b1335ca728e43;p=vlp.git diff --git a/src/global/genint1.h b/src/global/genint1.h index 60434b2..c098f2a 100644 --- a/src/global/genint1.h +++ b/src/global/genint1.h @@ -28,6 +28,9 @@ or Andrzej Salwicki ======================================================================= */ +#ifndef __GENINT_H +#define __GENINT_H + #if GEN #define word address #endif @@ -67,8 +70,14 @@ or Andrzej Salwicki typedef int bool; #endif +/* In Qt4 these 2 definitions are already made */ +#ifndef FALSE #define FALSE 0 +#endif + +#ifndef TRUE #define TRUE 1 +#endif /* Values identifying types and formal parameters: */ @@ -149,7 +158,7 @@ typedef int protkind; #endif /* TODO: Conditionally restore it:*/ -/*typedef int word;*/ +typedef int word; /** * Prototype: @@ -251,3 +260,5 @@ typedef struct { } protdescr,*pointprdsc; /** @} */ + +#endif /* __GENINT_H */