mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-30 16:01:51 +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
|
#define FLUID_FPRINTF fprintf
|
||||||
|
|
||||||
#if (defined(WIN32) && _MSC_VER < 1900) || defined(MINGW32)
|
#if (defined(WIN32) && _MSC_VER < 1900) || defined(MINGW32)
|
||||||
#define FLUID_SNPRINTF _snprintf
|
#define FLUID_SNPRINTF g_snprintf
|
||||||
#else
|
#else
|
||||||
#define FLUID_SNPRINTF snprintf
|
#define FLUID_SNPRINTF snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined(WIN32) && _MSC_VER < 1500) || defined(MINGW32)
|
#if (defined(WIN32) && _MSC_VER < 1500) || defined(MINGW32)
|
||||||
#define FLUID_VSNPRINTF _vsnprintf
|
#define FLUID_VSNPRINTF g_vsnprintf
|
||||||
#else
|
#else
|
||||||
#define FLUID_VSNPRINTF vsnprintf
|
#define FLUID_VSNPRINTF vsnprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue