Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Gilbert <ascotan@gmail.com>2005-05-21 00:52:47 +0400
committerJoseph Gilbert <ascotan@gmail.com>2005-05-21 00:52:47 +0400
commit0945b86a636f68306d7e4480c187eb323c6aceb9 (patch)
treee67a804707ea87ddd0486a353cac906ef9220138
parent244a1a71b3b15f051411b780e63488e5486555f4 (diff)
O_BINARY define for unix compilers
-rw-r--r--source/blender/python/api2_2x/Blender.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Blender.c b/source/blender/python/api2_2x/Blender.c
index 705b31e6ebc..140bee0468d 100644
--- a/source/blender/python/api2_2x/Blender.c
+++ b/source/blender/python/api2_2x/Blender.c
@@ -33,6 +33,10 @@
#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