mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-18 05:31:02 +00:00
Use _close() on _WIN32
This commit is contained in:
parent
6068c20728
commit
96f0f5fe88
1 changed files with 4 additions and 0 deletions
|
@ -400,7 +400,11 @@ fluid_source(fluid_cmd_handler_t* handler, const char *filename)
|
|||
fluid_shell_init(&shell, NULL, handler, file, fluid_get_stdout());
|
||||
result = fluid_shell_run(&shell);
|
||||
|
||||
#ifdef WIN32
|
||||
_close(file);
|
||||
#else
|
||||
close(file);
|
||||
#endif
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue