fixed __cplusplus preprocessor define

This commit is contained in:
Markus Fröschle
2012-11-17 14:24:18 +00:00
parent 845744778a
commit c4c7046432

View File

@@ -8,11 +8,11 @@
#ifndef BAS_TYPES_H_
#define BAS_TYPES_H_
#ifndef _CPLUSPLUS_
#ifndef __cplusplus
typedef int bool;
#define TRUE 1
#define FALSE 0
#endif /* _CPLUSPLUS_ */
#endif /* __cplusplus */