mirror of
https://github.com/holub/mame
synced 2025-06-09 22:33:00 +03:00
VS2012 is not supported anymore (nw)
This commit is contained in:
parent
547efb0146
commit
bc86cde3c6
@ -232,17 +232,6 @@ typedef ptrdiff_t ssize_t;
|
|||||||
#if _MSC_VER < 1900 // VS2013 or earlier
|
#if _MSC_VER < 1900 // VS2013 or earlier
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#define __func__ __FUNCTION__
|
#define __func__ __FUNCTION__
|
||||||
#if _MSC_VER < 1800 // VS2012 or earlier
|
|
||||||
#define alloca _alloca
|
|
||||||
#define round(x) floor((x) + 0.5)
|
|
||||||
#define strtoll _strtoi64
|
|
||||||
#define _USE_MATH_DEFINES
|
|
||||||
#include <math.h>
|
|
||||||
static __inline double fmin(double x, double y){ return (x < y) ? x : y; }
|
|
||||||
static __inline double fmax(double x, double y){ return (x > y) ? x : y; }
|
|
||||||
static __inline double log2(double x) { return log(x) * M_LOG2E; }
|
|
||||||
#define __func__ __FUNCTION__
|
|
||||||
#endif // VS2012 or earlier
|
|
||||||
#else // VS2015
|
#else // VS2015
|
||||||
#define _CRT_STDIO_LEGACY_WIDE_SPECIFIERS
|
#define _CRT_STDIO_LEGACY_WIDE_SPECIFIERS
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user