]> Shamusworld >> Repos - rmac/blobdiff - rmac.h
Fix for assembly getting stuck in an infinite loop when a INCLUDEd file inside an...
[rmac] / rmac.h
diff --git a/rmac.h b/rmac.h
index 62fb5427e0fc80b48dc1909352273369366e2931..25d2afda3a334baaf6a15daab6ff612839bd4cab 100644 (file)
--- a/rmac.h
+++ b/rmac.h
        // 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 <io.h>
        #include <fcntl.h>
@@ -202,6 +210,7 @@ extern int lsym_flag;
 extern int sbra_flag;
 extern int obj_format;
 extern int legacy_flag;
+extern LONG PRGFLAGS;
 
 // Exported functions
 char * fext(char *, char *, int);