aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gfx.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx.mk b/gfx.mk
index a9fdc414..435c24de 100644
--- a/gfx.mk
+++ b/gfx.mk
@@ -31,6 +31,9 @@ ifneq ($(GFXDEMO),)
endif
# Include the operating system define
+ifeq ($(OPT_OS),arduino)
+ GFXDEFS += GFX_USE_OS_ARDUINO=TRUE
+endif
ifeq ($(OPT_OS),win32)
GFXDEFS += GFX_USE_OS_WIN32=TRUE
endif