Use _close() on _WIN32

This commit is contained in:
carlo-bramini 2017-10-24 20:25:58 +02:00
parent 6068c20728
commit 96f0f5fe88

View file

@ -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;
}