Index: core/include/fxcrt/fx_system.h |
diff --git a/core/include/fxcrt/fx_system.h b/core/include/fxcrt/fx_system.h |
index ad63d5682961126b6f23a14af8bf10015864eb11..53789581d730fee712fe33c1796c0c362714822e 100644 |
--- a/core/include/fxcrt/fx_system.h |
+++ b/core/include/fxcrt/fx_system.h |
@@ -92,6 +92,11 @@ typedef int FX_STRSIZE; |
#define FALSE 0 |
#endif |
+#ifdef __cplusplus |
+static_assert(TRUE == true, "true_needs_to_be_true"); |
+static_assert(FALSE == false, "false_needs_to_be_false"); |
+#endif |
+ |
#ifndef NULL |
#define NULL 0 |
#endif |