aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/class_gwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/class_gwin.h')
-rw-r--r--src/gwin/class_gwin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gwin/class_gwin.h b/src/gwin/class_gwin.h
index 995121b7..b32e4da2 100644
--- a/src/gwin/class_gwin.h
+++ b/src/gwin/class_gwin.h
@@ -23,6 +23,10 @@
#if GFX_USE_GWIN || defined(__DOXYGEN__)
+#if defined(__KEIL__) || defined(__C51__)
+ #pragma anon_unions
+#endif
+
/**
* @brief The predefined flags for a Window
* @{