mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-dir/dirtest.c: need to include <io.h> for mktemp() on Windows
This commit is contained in:
@@ -20,6 +20,7 @@ int closedir(DIR *dir);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#include <io.h>
|
||||
#include <direct.h>
|
||||
#define rmdir(path) _rmdir(path)
|
||||
#define getcwd(path,len) _getcwd(path,len)
|
||||
|
||||
Reference in New Issue
Block a user