diff options
Diffstat (limited to 'src/gwin/sys_rules.h')
| -rw-r--r-- | src/gwin/sys_rules.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gwin/sys_rules.h b/src/gwin/sys_rules.h index ddfea3aa..911379af 100644 --- a/src/gwin/sys_rules.h +++ b/src/gwin/sys_rules.h @@ -91,6 +91,13 @@ #define GFX_USE_GQUEUE TRUE #define GQUEUE_NEED_ASYNC TRUE #endif + #if !GFX_USE_GTIMER + #if GFX_DISPLAY_RULE_WARNINGS + #warning "GWIN: GFX_USE_GTIMER is required if GWIN_NEED_WINDOWMANAGER is TRUE. It has been turned on for you." + #endif + #undef GFX_USE_GTIMER + #define GFX_USE_GTIMER TRUE + #endif #endif // Rules for individual objects @@ -116,13 +123,6 @@ #error "GWIN: GDISP_NEED_TEXT is required if GWIN_NEED_CONSOLE is TRUE." #endif #endif - #if GWIN_NEED_PROGRESSBAR - #if GWIN_PROGRESSBAR_AUTO - #if !GFX_USE_GTIMER - #error "GWIN: GFX_USE_GTIMER is required if GWIN_PROGRESSBAR_AUTO is TRUE." - #endif - #endif - #endif #endif #endif /* _GWIN_RULES_H */ |
