From 9b7318710025ae85af714bb0b5f390db84ae2cd0 Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 30 Jun 2017 19:43:51 +1000 Subject: Add compatibility with Visual Studio and make compile warning capabilities more cross platform --- gfx.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gfx.h') 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" -- cgit v1.2.3