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