mirror of
https://github.com/holub/mame
synced 2025-06-27 22:54:42 +03:00
fixed #if checks for Visual Studio in osd/osdcomm.h (nw)
This commit is contained in:
parent
b1854f93da
commit
23b37789fd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user