Skip to content

Commit

Permalink
[cleanup][windows] minimum MSVC = 1900 (VS 2015)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rechi committed Feb 27, 2018
1 parent c4437b2 commit d4f598e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions xbmc/platform/win32/PlatformDefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit d4f598e

Please sign in to comment.