dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
vlp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6000e6
)
genint1.h is a header file which is used in C and C++ compilation. Make bool typedef...
author
Rafał Długołęcki
<kontakt@dlugolecki.net.pl>
Sun, 7 Jul 2013 23:13:25 +0000
(
01:13
+0200)
committer
Rafał Długołęcki
<kontakt@dlugolecki.net.pl>
Sun, 7 Jul 2013 23:13:25 +0000
(
01:13
+0200)
src/global/genint1.h
patch
|
blob
|
history
diff --git
a/src/global/genint1.h
b/src/global/genint1.h
index af4b5979529889b830cfd5ea0dcaccd15f2a9467..9aeb0572ca113fca1212b13bbda6ec1e99e19d08 100644
(file)
--- a/
src/global/genint1.h
+++ b/
src/global/genint1.h
@@
-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