* configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
authorDanny Smith <dannysmith@users.sourceforge.net>
Fri, 17 Oct 2003 02:15:53 +0000 (02:15 +0000)
committerDanny Smith <dannysmith@users.sourceforge.net>
Fri, 17 Oct 2003 02:15:53 +0000 (02:15 +0000)
 mingw32.

bfd/ChangeLog
bfd/configure.host

index cd135557cf06cb1fcf5f26e8439b0dc3829c168e..be335464668914b21362c454a18d6c5010fc5c09 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-17  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
+        mingw32.
+
 2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
index fcfa9f5e841ebdd115530de407682e4605524cab..69eb17ac95865e7c4c9dd00589ecd8dfae60b99a 100644 (file)
@@ -27,6 +27,10 @@ hppa*-*-osf*)                HDEFINES=-DHOST_HPPAOSF ;;
 
 ia64-*-*)              host64=true;;
 
+# Workaround for limitations on win9x where file contents are
+# not zero'd out if you seek past the end and then write.
+i[3-7]86-*-mingw32*)   HDEFINES=-D__USE_MINGW_FSEEK;;
+
 i[3-7]86-sequent-bsd*) HDEFINES=-Dshared=genshared ;;
 i[3-7]86-sequent-sysv4*) ;;
 i[3-7]86-sequent-sysv*)        HDEFINES=-Dshared=genshared ;;