From: ggn Date: Thu, 22 Oct 2015 16:41:58 +0000 (+0300) Subject: Fixed compilation on MinGW. X-Git-Tag: v2.1.0~198 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=commitdiff_plain;h=87dd851bba96800c2dd91a34f70918a282b8da0a Fixed compilation on MinGW. --- diff --git a/rmac.h b/rmac.h index 62fb542..a3132b2 100644 --- a/rmac.h +++ b/rmac.h @@ -31,6 +31,14 @@ // usage: // WARNING(FIXME: Code removed because...) + #else + //If we're not compiling for Visual Studio let's assume that we're using + //some flavour of gcc instead. So let's use the gcc compliant macro instead. + //If some weirdo uses something else (I dunno, Intel compiler or something?) + //this is probably going to explode spectacularly. Let's wait for the fireworks! + #define DO_PRAGMA(x) _Pragma (#x) + #define WARNING(desc) DO_PRAGMA(message (#desc)) + #endif #include #include diff --git a/version.h b/version.h index 43e2007..83ba411 100644 --- a/version.h +++ b/version.h @@ -13,6 +13,6 @@ #define MAJOR 1 // Major version number #define MINOR 3 // Minor version number -#define PATCH 11 // Patch release number +#define PATCH 12 // Patch release number #endif // __VERSION_H__