aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-11-08 15:44:29 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-11-08 15:44:29 +0100
commit0b144795979feaa8f232a85ab45dba8bfbf37dac (patch)
treef803e3d7c03862d658724f2ed91a2e973a4c23b3 /gfx.h
parent15538841de5945bae35846f16ab2009dc1489419 (diff)
downloaduGFX-0b144795979feaa8f232a85ab45dba8bfbf37dac.tar.gz
uGFX-0b144795979feaa8f232a85ab45dba8bfbf37dac.tar.bz2
uGFX-0b144795979feaa8f232a85ab45dba8bfbf37dac.zip
Fixing issue for #define of TRUE
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gfx.h b/gfx.h
index 9afb3256..698fbdee 100644
--- a/gfx.h
+++ b/gfx.h
@@ -35,12 +35,7 @@
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
- // Keil/ARMCC requires some special threatment. can probably be generalized to always be 1.
- #if (GFX_COMPILER == GFX_COMPILER_ARMCC) || (GFX_COMPILER == GFX_COMPILER_KEIL)
- #define TRUE 1
- #else
- #define TRUE -1
- #endif
+ #define TRUE -1
#endif
/**