mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
compat/msvc.h - define snprintf macro for _WIN32 too
This commit is contained in:
parent
31164349fa
commit
79f46c574f
@ -23,6 +23,12 @@
|
||||
#ifndef __LIBRETRO_SDK_COMPAT_MSVC_H
|
||||
#define __LIBRETRO_SDK_COMPAT_MSVC_H
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef snprintf
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#undef UNICODE /* Do not bother with UNICODE at this time. */
|
||||
@ -42,7 +48,6 @@ typedef int ssize_t;
|
||||
#endif
|
||||
|
||||
#define mkdir(dirname, unused) _mkdir(dirname)
|
||||
#define snprintf _snprintf
|
||||
#define strtoull _strtoui64
|
||||
#undef strcasecmp
|
||||
#define strcasecmp _stricmp
|
||||
|
Loading…
x
Reference in New Issue
Block a user