mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
Revert "windows: allow SF2 to be loaded from unicode paths"
This reverts commit d3f4b14e48
.
Wont work, since fluidsynth internally only uses char*, but _wfopen requires wchar_t*
This commit is contained in:
parent
d3f4b14e48
commit
0edbe06621
1 changed files with 1 additions and 5 deletions
|
@ -223,11 +223,7 @@ 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)
|
||||
#if defined(WIN32)
|
||||
#define FLUID_FOPEN(_f,_m) _wfopen(_f,_m)
|
||||
#else
|
||||
#define FLUID_FOPEN(_f,_m) fopen(_f,_m)
|
||||
#endif
|
||||
#define FLUID_FOPEN(_f,_m) fopen(_f,_m)
|
||||
#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