* doing some warning cleaning
[blender.git] / source / blender / blenkernel / intern / exotic.c
index 9fb8d17d730da2b794da9d9270e723ad38dc24cf..ee3fd59fe9fd5c6cf6cd042c55b9d9a017a3e085 100644 (file)
 #include <fcntl.h>
 #include <string.h>
 
-#ifndef WIN32 
+#ifndef _WIN32 
 #include <unistd.h>
 #else
 #include <io.h>
+#define open _open
+#define read _read
+#define close _close
+#define write _write
 #endif
 
 #include "MEM_guardedalloc.h"