mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 23:11:41 +00:00
fix indentation
This commit is contained in:
parent
64b929ced6
commit
b4c36b1ba2
1 changed files with 10 additions and 8 deletions
|
@ -234,30 +234,32 @@ typedef FILE* fluid_file;
|
|||
#define FLUID_STRNCPY(_dst,_src,_n) strncpy(_dst,_src,_n)
|
||||
#define FLUID_STRCHR(_s,_c) strchr(_s,_c)
|
||||
#define FLUID_STRRCHR(_s,_c) strrchr(_s,_c)
|
||||
|
||||
#ifdef strdup
|
||||
#define FLUID_STRDUP(s) strdup(s)
|
||||
#define FLUID_STRDUP(s) strdup(s)
|
||||
#else
|
||||
#define FLUID_STRDUP(s) FLUID_STRCPY(FLUID_MALLOC(FLUID_STRLEN(s) + 1), s)
|
||||
#define FLUID_STRDUP(s) FLUID_STRCPY(FLUID_MALLOC(FLUID_STRLEN(s) + 1), s)
|
||||
#endif
|
||||
|
||||
#define FLUID_SPRINTF sprintf
|
||||
#define FLUID_FPRINTF fprintf
|
||||
|
||||
#if (defined(WIN32) && _MSC_VER < 1900) || defined(MINGW32)
|
||||
#define FLUID_SNPRINTF _snprintf
|
||||
#define FLUID_SNPRINTF _snprintf
|
||||
#else
|
||||
#define FLUID_SNPRINTF snprintf
|
||||
#define FLUID_SNPRINTF snprintf
|
||||
#endif
|
||||
|
||||
#if (defined(WIN32) && _MSC_VER < 1500) || defined(MINGW32)
|
||||
#define FLUID_VSNPRINTF _vsnprintf
|
||||
#define FLUID_VSNPRINTF _vsnprintf
|
||||
#else
|
||||
#define FLUID_VSNPRINTF vsnprintf
|
||||
#define FLUID_VSNPRINTF vsnprintf
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) && !defined(MINGW32)
|
||||
#define FLUID_STRCASECMP _stricmp
|
||||
#define FLUID_STRCASECMP _stricmp
|
||||
#else
|
||||
#define FLUID_STRCASECMP strcasecmp
|
||||
#define FLUID_STRCASECMP strcasecmp
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue