Eet : O_BINARY does not exist on linux...
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 16 Jul 2011 08:18:28 +0000 (08:18 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 16 Jul 2011 08:18:28 +0000 (08:18 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@61422 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eet_lib.c

index 7978348..9fe73c1 100644 (file)
@@ -67,6 +67,11 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
 #include "Eet.h"
 #include "Eet_private.h"
 
+
+#ifndef O_BINARY
+# define O_BINARY 0
+#endif
+
 static Eet_Version _version = { VMAJ, VMIN, VMIC, VREV };
 EAPI Eet_Version *eet_version = &_version;