fixed #if checks for Visual Studio in osd/osdcomm.h (nw)

This commit is contained in:
Oliver Stöneberg 2014-02-26 10:07:14 +00:00
parent b1854f93da
commit 23b37789fd

View File

@ -158,13 +158,13 @@ __extension__ typedef signed long long INT64;
/* MINGW has adopted the MSVC formatting for 64-bit ints as of gcc 4.4 */ /* MINGW has adopted the MSVC formatting for 64-bit ints as of gcc 4.4 */
#if (defined(__MINGW32__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))) || defined(_MSVC_VER) #if (defined(__MINGW32__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))) || defined(_MSC_VER)
#define I64FMT "I64" #define I64FMT "I64"
#else #else
#define I64FMT "ll" #define I64FMT "ll"
#endif #endif
#if defined(_MSVC_VER) || defined(__MINGW32__) #if defined(_MSC_VER) || defined(__MINGW32__)
#ifdef PTR64 #ifdef PTR64
#define SIZETFMT "I64u" #define SIZETFMT "I64u"
#else #else