aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.h
diff options
context:
space:
mode:
authorinmarket <inmarket@ugfx.io>2017-06-30 19:43:51 +1000
committerinmarket <inmarket@ugfx.io>2017-06-30 19:43:51 +1000
commit9b7318710025ae85af714bb0b5f390db84ae2cd0 (patch)
treef7b1849a40c0019d048761f9493f6d15695703cd /gfx.h
parente5497f2ac058acb427b6fcdd15db6adeddd7bc55 (diff)
downloaduGFX-9b7318710025ae85af714bb0b5f390db84ae2cd0.tar.gz
uGFX-9b7318710025ae85af714bb0b5f390db84ae2cd0.tar.bz2
uGFX-9b7318710025ae85af714bb0b5f390db84ae2cd0.zip
Add compatibility with Visual Studio and make compile warning capabilities more cross platform
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx.h b/gfx.h
index 2e25db88..abbad5d6 100644
--- a/gfx.h
+++ b/gfx.h
@@ -38,6 +38,12 @@
#define TRUE -1
#endif
+// Macro concatination and strify - not API documented
+#define GFXCATX(a, b) GFXCAT(a, b)
+#define GFXCAT(a, b) a ## b
+#define GFXSTRX(a) GFXSTR(a)
+#define GFXSTR(a) #a
+
/* gfxconf.h is the user's project configuration for the GFX system. */
#include "gfxconf.h"