diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2005-05-21 00:52:47 +0400 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2005-05-21 00:52:47 +0400 |
commit | 0945b86a636f68306d7e4480c187eb323c6aceb9 (patch) | |
tree | e67a804707ea87ddd0486a353cac906ef9220138 | |
parent | 244a1a71b3b15f051411b780e63488e5486555f4 (diff) |
O_BINARY define for unix compilers
-rw-r--r-- | source/blender/python/api2_2x/Blender.c | 4 |
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 |