From: kramm Date: Fri, 4 Apr 2003 05:00:18 +0000 (+0000) Subject: O_BINARY X-Git-Tag: release-0-4-4~56 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=5c5bdb50a110c125e97152a78782bc268b19d8d7;ds=sidebyside O_BINARY --- diff --git a/config.h.in b/config.h.in index 66f50c7..a7611d0 100644 --- a/config.h.in +++ b/config.h.in @@ -103,6 +103,9 @@ /* 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 @@ -115,4 +118,5 @@ #endif #endif + #endif diff --git a/configure.in b/configure.in index ee74d83..444e533 100644 --- a/configure.in +++ b/configure.in @@ -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,