mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-27 22:43:36 +00:00
fallback to glibs C99 compliant *snprintf() functions
rather than microsofts non compliant extension functions
This commit is contained in:
parent
acb8da48f4
commit
272b807383
1 changed files with 2 additions and 2 deletions
|
@ -256,13 +256,13 @@ do { strncpy(_dst,_src,_n); \
|
|||
#define FLUID_FPRINTF fprintf
|
||||
|
||||
#if (defined(WIN32) && _MSC_VER < 1900) || defined(MINGW32)
|
||||
#define FLUID_SNPRINTF _snprintf
|
||||
#define FLUID_SNPRINTF g_snprintf
|
||||
#else
|
||||
#define FLUID_SNPRINTF snprintf
|
||||
#endif
|
||||
|
||||
#if (defined(WIN32) && _MSC_VER < 1500) || defined(MINGW32)
|
||||
#define FLUID_VSNPRINTF _vsnprintf
|
||||
#define FLUID_VSNPRINTF g_vsnprintf
|
||||
#else
|
||||
#define FLUID_VSNPRINTF vsnprintf
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue