* doing some warning cleaning
[blender.git] / source / blender / blenkernel / intern / blender.c
index 1fe6447752e72f37dd51c11d09663925e3b7cb19..5dcccc56d06223841d8d47c115eb68a917f38355 100644 (file)
  * ***** END GPL LICENSE BLOCK *****
  */
 
-#ifndef WIN32 
-    #include <unistd.h> // for read close
-    #include <sys/param.h> // for MAXPATHLEN
+#ifndef _WIN32 
+       #include <unistd.h> // for read close
+       #include <sys/param.h> // for MAXPATHLEN
 #else
-    #include <io.h> // for open close read
+       #include <io.h> // for open close read
+       #define open _open
+       #define read _read
+       #define close _close
+       #define write _write
 #endif
 
 #include <stdlib.h>