VLP-28 Initial port to Qt4 of logker.
[vlp.git] / src / global / genint1.h
index 1bb97d31a14469397f0de905b4818e16e36ec6e8..c098f2a1ed76ee5c71b650fdd9705fa3c19c60c4 100644 (file)
@@ -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: */
@@ -251,3 +260,5 @@ typedef struct {
 } protdescr,*pointprdsc;
 
 /** @} */
+
+#endif /* __GENINT_H */