* doing some warning cleaning
[blender.git] / source / blender / imbuf / intern / readimage.c
index 566df53a25e6033ca261bc1a9bfdc7ed25206e0a..05e7921665bc2707fbda9fe2f59602a0bb52c976 100644 (file)
  * $Id$
  */
 
  * $Id$
  */
 
-#ifdef WIN32
+#ifdef _WIN32
 #include <io.h>
 #include <stddef.h>
 #include <sys/types.h>
 #include "mmap_win.h"
 #include <io.h>
 #include <stddef.h>
 #include <sys/types.h>
 #include "mmap_win.h"
+#define open _open
+#define read _read
+#define close _close
 #endif
 
 #include "BLI_blenlib.h"
 #endif
 
 #include "BLI_blenlib.h"