mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-30 20:07:51 +00:00
don´t define snprintf on Visual Studio 2015
Visual Studio 2015 defines this in stdio now
This commit is contained in:
parent
f4e1d8ea36
commit
af18572491
1 changed files with 4 additions and 2 deletions
|
@ -69,8 +69,10 @@ inline u64 _rotr64(u64 x, unsigned int shift){
|
|||
}
|
||||
|
||||
#else // _MSC_VER
|
||||
// Function Cross-Compatibility
|
||||
#define snprintf _snprintf
|
||||
#if (_MSC_VER < 1900)
|
||||
// Function Cross-Compatibility
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
// Locale Cross-Compatibility
|
||||
#define locale_t _locale_t
|
||||
|
|
Loading…
Reference in a new issue