X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=rmac.h;h=5ef9953c1559fe83ce93f14bc0f7cb0bfad39f90;hp=e0f53df54e131d5a3d1ef3d89d3259dbe0bca40e;hb=c74d8ef6f193cb2be876c920c5cb7f599dd5418a;hpb=3f2bccb78ab4cd59654d521c8aedfe5512ee6608 diff --git a/rmac.h b/rmac.h index e0f53df..5ef9953 100644 --- a/rmac.h +++ b/rmac.h @@ -3,7 +3,7 @@ // RMAC.H - Main Application Code // Copyright (C) 199x Landon Dyer, 2011 Reboot & Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 -// Source Utilised with the Kind Permission of Landon Dyer +// Source utilised with the kind permission of Landon Dyer // #ifndef __RMAC_H__ @@ -12,7 +12,7 @@ // // TARGET SPECIFIC BUILD SETTINGS // -#ifdef WIN32 +#if defined(WIN32) || defined (WIN64) // Release platform - windows #define PLATFORM "Win32" #define _OPEN_FLAGS _O_TRUNC|_O_CREAT|_O_BINARY|_O_RDWR @@ -22,6 +22,15 @@ #if _MSC_VER > 1000 #pragma warning(disable:4996) #endif + + //Makes warnings double clickable on visual studio + #define STRINGIZE_HELPER(x) #x + #define STRINGIZE(x) STRINGIZE_HELPER(x) + #define WARNING(desc) message(__FILE__ "(" STRINGIZE(__LINE__) ") : Warning: " #desc) + + // usage: + //#pragma WARNING(FIXME: Code removed because...) + #endif #include #include @@ -31,6 +40,7 @@ #include #include #include + #else #ifdef __GCCUNIX__ // Release platform - mac OS-X or linux