genint1.h is a header file which is used in C and C++ compilation. Make bool typedef...
authorRafał Długołęcki <kontakt@dlugolecki.net.pl>
Sun, 7 Jul 2013 23:13:25 +0000 (01:13 +0200)
committerRafał Długołęcki <kontakt@dlugolecki.net.pl>
Sun, 7 Jul 2013 23:13:25 +0000 (01:13 +0200)
src/global/genint1.h

index af4b5979529889b830cfd5ea0dcaccd15f2a9467..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