O_BINARY
authorkramm <kramm>
Fri, 4 Apr 2003 05:00:18 +0000 (05:00 +0000)
committerkramm <kramm>
Fri, 4 Apr 2003 05:00:18 +0000 (05:00 +0000)
config.h.in
configure.in

index 66f50c7..a7611d0 100644 (file)
 /* Define to 1 if this machine has network byte order*/
 #undef WORDS_BIGENDIAN
 
+/* Define to 0 on non-windows systems */
+#undef O_BINARY
+
 #ifdef HAVE_ZLIB_H
 #ifdef HAVE_LIBZ
 #define HAVE_ZLIB
 #endif
 #endif
 
+
 #endif
index ee74d83..444e533 100644 (file)
@@ -7,7 +7,7 @@ AC_ARG_ENABLE(debug,
 [  --enable-debug          turn on debugging], DEBUG=true)
 
 PACKAGE=swftools
-VERSION=0.4.4-pre10
+VERSION=0.4.4-pre11
 # -Winline?
 
 if test "x$CHECKMEM" '!=' "x";then
@@ -63,6 +63,9 @@ dnl Checks for system services
 
 RFX_CHECK_MING
 
+if test "x${MINGW}" != "xyes"; then
+    AC_DEFINE_UNQUOTED(O_BINARY, 0)
+fi
 # The following tries to make use of includes and libraries in
 # /usr/local, too. Notice: A -I/usr/local/include might break
 # things (MingW, cross-compiling etc.) in the same way as -I/usr/include,