mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-04 10:01:16 +00:00
parent
2526982f9f
commit
d3f4b14e48
1 changed files with 5 additions and 1 deletions
|
@ -223,7 +223,11 @@ typedef FILE* fluid_file;
|
|||
#define FLUID_NEW(_t) (_t*)malloc(sizeof(_t))
|
||||
#define FLUID_ARRAY(_t,_n) (_t*)malloc((_n)*sizeof(_t))
|
||||
#define FLUID_FREE(_p) free(_p)
|
||||
#define FLUID_FOPEN(_f,_m) fopen(_f,_m)
|
||||
#if defined(WIN32)
|
||||
#define FLUID_FOPEN(_f,_m) _wfopen(_f,_m)
|
||||
#else
|
||||
#define FLUID_FOPEN(_f,_m) fopen(_f,_m)
|
||||
#endif
|
||||
#define FLUID_FCLOSE(_f) fclose(_f)
|
||||
#define FLUID_FREAD(_p,_s,_n,_f) fread(_p,_s,_n,_f)
|
||||
#define FLUID_FSEEK(_f,_n,_set) fseek(_f,_n,_set)
|
||||
|
|
Loading…
Reference in a new issue