diff options
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h')
-rw-r--r-- | runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h index a9c754848..0f207242a 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h @@ -58,6 +58,12 @@ typedef char bool; /* TODO: bool, Bool, Boolean, and boolean are already define #ifndef FALSE #define FALSE 0 #endif +#ifndef true + #define true 1 +#endif +#ifndef false + #define false 0 +#endif #define ALIGNMENT 8 /* power of 2 and >= sizeof(int) ! */ |