diff options
| author | 2015-12-07 19:41:24 +0100 | |
|---|---|---|
| committer | 2015-12-07 19:41:55 +0100 | |
| commit | bc86cde3c6ea1467fb4fd55124e38394d2c2dd5d (patch) | |
| tree | 16877165c97c557219984da23ace77810fa7b535 /src/osd | |
| parent | 547efb01467f73a90be36d237b653fbf4fbca868 (diff) | |
VS2012 is not supported anymore (nw)
Diffstat (limited to 'src/osd')
| -rw-r--r-- | src/osd/osdcomm.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/osd/osdcomm.h b/src/osd/osdcomm.h index 3a16220ae77..9465be7477c 100644 --- a/src/osd/osdcomm.h +++ b/src/osd/osdcomm.h @@ -232,17 +232,6 @@ typedef ptrdiff_t ssize_t; #if _MSC_VER < 1900 // VS2013 or earlier #define snprintf _snprintf #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 #define _CRT_STDIO_LEGACY_WIDE_SPECIFIERS #endif |
