X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=rmac.h;h=a3132b25c10149c3b6e6d2f12b3d86ecfc31a8fd;hp=62fb5427e0fc80b48dc1909352273369366e2931;hb=87dd851bba96800c2dd91a34f70918a282b8da0a;hpb=850b5921f82266f0a416dc24ab44731f9692d4d9 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