O_BINARY define for unix compilers
authorJoseph Gilbert <ascotan@gmail.com>
Fri, 20 May 2005 20:52:47 +0000 (20:52 +0000)
committerJoseph Gilbert <ascotan@gmail.com>
Fri, 20 May 2005 20:52:47 +0000 (20:52 +0000)
source/blender/python/api2_2x/Blender.c

index 705b31e6ebc93cd4892657ec30c47835d914e3d9..140bee0468de6e65d4e2ab834ab098c32d4fe21a 100644 (file)
 #include <Python.h>
 #include <stdio.h>
 
+#ifndef O_BINARY
+# define O_BINARY 0
+#endif
+
 /* for open, close in Blender_Load */
 #include <fcntl.h>
 #ifndef WIN32