git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
77374b6
)
O_BINARY
author
kramm
<kramm>
Fri, 4 Apr 2003 05:00:18 +0000
(
05:00
+0000)
committer
kramm
<kramm>
Fri, 4 Apr 2003 05:00:18 +0000
(
05:00
+0000)
config.h.in
patch
|
blob
|
history
configure.in
patch
|
blob
|
history
diff --git
a/config.h.in
b/config.h.in
index
66f50c7
..
a7611d0
100644
(file)
--- 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 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
#ifdef HAVE_ZLIB_H
#ifdef HAVE_LIBZ
#define HAVE_ZLIB
@@
-115,4
+118,5
@@
#endif
#endif
#endif
#endif
+
#endif
#endif
diff --git
a/configure.in
b/configure.in
index
ee74d83
..
444e533
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-7,7
+7,7
@@
AC_ARG_ENABLE(debug,
[ --enable-debug turn on debugging], DEBUG=true)
PACKAGE=swftools
[ --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
# -Winline?
if test "x$CHECKMEM" '!=' "x";then
@@
-63,6
+63,9
@@
dnl Checks for system services
RFX_CHECK_MING
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,
# 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,