mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-03 04:02:51 +00:00
Make compilable with VS2015
So Microsoft decided to make their C runtime conform to C99
This commit is contained in:
parent
c12d4242a8
commit
30a362f227
@ -2,7 +2,7 @@
|
||||
|
||||
// Implement C99 functions and similar that are missing in MSVC.
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
|
||||
int c99_snprintf(char* str, size_t size, const char* format, ...);
|
||||
#define snprintf c99_snprintf
|
||||
|
@ -40,7 +40,9 @@
|
||||
#define ZIP_EXTERN
|
||||
#define fseeko fseek
|
||||
#define ftello ftell
|
||||
#if _MSC_VER < 1900
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
#ifndef strcasecmp
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user