genint1.h is a header file which is used in C and C++ compilation. Make bool typedef...
[vlp.git] / src / global / genint1.h
index 97396c93c8318a5336e9bb5e20d054e7cb78b548..9aeb0572ca113fca1212b13bbda6ec1e99e19d08 100644 (file)
@@ -43,8 +43,10 @@ or             Andrzej Salwicki
 #define APFMPROC        3     /* FORMAL PROCEURE OR FUNCTION VALUE, = APREF+1*/
 #define APOPCODE       (sizeof(extopcode)+sizeof(word)-1)/sizeof(word)
 
-
+#ifndef __cplusplus
 typedef int bool;
+#endif
+
 #define FALSE           0
 #define TRUE            1
 
@@ -123,6 +125,7 @@ typedef   int   protkind ;
 #endif
 
 
+typedef        int word;
 /* Prototype : */
 
 typedef struct {