summaryrefslogtreecommitdiffstats
path: root/src/opt/fxu/fxu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt/fxu/fxu.h')
-rw-r--r--src/opt/fxu/fxu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opt/fxu/fxu.h b/src/opt/fxu/fxu.h
index 6a1bb5e3..7025d019 100644
--- a/src/opt/fxu/fxu.h
+++ b/src/opt/fxu/fxu.h
@@ -37,9 +37,11 @@ extern "C" {
/// STRUCTURE DEFINITIONS ///
////////////////////////////////////////////////////////////////////////
+#ifndef __cplusplus
#ifndef bool
#define bool int
#endif
+#endif
typedef struct FxuDataStruct Fxu_Data_t;