aboutsummaryrefslogtreecommitdiffstats
path: root/include/gfx_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gfx_rules.h')
-rw-r--r--include/gfx_rules.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gfx_rules.h b/include/gfx_rules.h
index c0f1e6d6..32a6ca87 100644
--- a/include/gfx_rules.h
+++ b/include/gfx_rules.h
@@ -26,14 +26,14 @@
#define GFX_DISPLAY_RULE_WARNINGS FALSE
#endif
-#if !GFX_USE_OS_CHIBIOS && !GFX_USE_OS_WIN32 && !GFX_USE_OS_POSIX
+#if !GFX_USE_OS_CHIBIOS && !GFX_USE_OS_WIN32 && !GFX_USE_OS_LINUX && !GFX_USE_OS_OSX
#if GFX_DISPLAY_RULE_WARNINGS
#warning "GOS: No Operating System has been defined. ChibiOS (GFX_USE_OS_CHIBIOS) has been turned on for you."
#endif
#undef GFX_USE_OS_CHIBIOS
#define GFX_USE_OS_CHIBIOS TRUE
#endif
-#if GFX_USE_OS_CHIBIOS + GFX_USE_OS_WIN32 + GFX_USE_OS_POSIX != 1 * TRUE
+#if GFX_USE_OS_CHIBIOS + GFX_USE_OS_WIN32 + GFX_USE_OS_LINUX + GFX_USE_OS_OSX != 1 * TRUE
#error "GOS: More than one operation system has been defined as TRUE."
#endif