diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-11-26 20:46:56 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-11-26 20:46:56 +0100 |
commit | 1aef326a77d7d5428291a8eda885280a63e0e029 (patch) | |
tree | 06c4c6317529305285fb65d648d542a0f97f22ee /src | |
parent | f1fb0a9b98551e538da15e778043c9fe39e3add9 (diff) | |
download | uGFX-1aef326a77d7d5428291a8eda885280a63e0e029.tar.gz uGFX-1aef326a77d7d5428291a8eda885280a63e0e029.tar.bz2 uGFX-1aef326a77d7d5428291a8eda885280a63e0e029.zip |
src/gwin/button.c macro fix
Diffstat (limited to 'src')
-rw-r--r-- | src/gwin/button.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gwin/button.c b/src/gwin/button.c index f62a86a4..fce82a20 100644 --- a/src/gwin/button.c +++ b/src/gwin/button.c @@ -30,12 +30,12 @@ #include "gwin.h"
#include "ginput.h"
-#if !defined(GFX_USE_GINPUT) || !GFX_USE_GINPUT
+#if (GFX_USE_GWIN && GWIN_NEED_BUTTON) || defined(__DOXYGEN__)
+
+#if !GFX_USE_GINPUT
#error "GWIN Buttons require GFX_USE_GINPUT"
#endif
-#if (GFX_USE_GWIN && GWIN_NEED_BUTTON) || defined(__DOXYGEN__)
-
#include <string.h>
#include "gwin_internal.h"
|