mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use _open and _close on Windows.
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
typedef int mode_t;
|
||||
#endif
|
||||
|
||||
#define open _open
|
||||
#define close _close
|
||||
|
||||
#ifdef _MSC_VER
|
||||
static int
|
||||
mkstemp(char *p)
|
||||
|
||||
Reference in New Issue
Block a user