aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-11-11 19:15:30 +1000
committerinmarket <andrewh@inmarket.com.au>2015-11-11 19:15:30 +1000
commit2efd207660a8e1d471fc3d8ceee944e667e26e71 (patch)
treeec8199a96e8679060df4314b40c7bc9b25879f00 /gfx.h
parent54b76a7568bfac0cfee1e3ce583c5cefa9578c66 (diff)
downloaduGFX-2efd207660a8e1d471fc3d8ceee944e667e26e71.tar.gz
uGFX-2efd207660a8e1d471fc3d8ceee944e667e26e71.tar.bz2
uGFX-2efd207660a8e1d471fc3d8ceee944e667e26e71.zip
Revert the use of the new compiler defines as they are not autodetected correctly yet
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.h b/gfx.h
index 698fbdee..48a92770 100644
--- a/gfx.h
+++ b/gfx.h
@@ -57,7 +57,7 @@
#if GFX_NO_INLINE
#define GFXINLINE
#else
- #if (GFX_COMPILER == GFX_COMPILER_ARMCC) || (GFX_COMPILER == GFX_COMPILER_KEIL)
+ #if defined(__KEIL__) || defined(__C51__)
#define GFXINLINE __inline
#else
#define GFXINLINE inline