aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-02-27 20:00:00 +0100
committerRechi <Rechi@users.noreply.github.com>2018-02-27 20:00:00 +0100
commitd4f598ee02ba0778cfad35d1e64055952450afed (patch)
tree0e00b94a14c4a5299bf08bd68132955e39974f69
parentc4437b2507247c9e414fa17b83445e35fc74c905 (diff)
[cleanup][windows] minimum MSVC = 1900 (VS 2015)
-rw-r--r--xbmc/platform/win32/PlatformDefs.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/xbmc/platform/win32/PlatformDefs.h b/xbmc/platform/win32/PlatformDefs.h
index af43078936..4e8ae888d4 100644
--- a/xbmc/platform/win32/PlatformDefs.h
+++ b/xbmc/platform/win32/PlatformDefs.h
@@ -40,9 +40,6 @@ typedef intptr_t ssize_t;
#define SSIZE_MAX INTPTR_MAX
#endif // !SSIZE_MAX
-#if _MSC_VER < 1900
-#define snprintf _snprintf
-#endif
#define ftello64 _ftelli64
#define fseeko64 _fseeki64
#ifndef strcasecmp
@@ -71,17 +68,6 @@ typedef intptr_t ssize_t;
#define PIXEL_BSHIFT 0
#endif
-#if _MSC_VER < 1800
-#ifndef va_copy
-#define va_copy(dst, src) ((dst) = (src))
-#endif
-
-#define lrint(x) ((x) >= 0 ? ((int)((x) + 0.5)) : ((int)((x) - 0.5)))
-#define llrint(x) ((x) >= 0 ? ((__int64)((x) + 0.5)) : ((__int64)((x) - 0.5)))
-
-#define strtoll(p, e, b) _strtoi64(p, e, b)
-#endif
-
extern "C" char * strptime(const char *buf, const char *fmt, struct tm *tm);
extern "C" int strverscmp (const char *s1, const char *s2);
extern "C" char * strcasestr(const char* haystack, const char* needle);