daily update
[deliverable/binutils-gdb.git] / bfd / configure.host
index fcfa9f5e841ebdd115530de407682e4605524cab..024ed625420119cf37e054733c4c8067765e2c32 100644 (file)
@@ -19,7 +19,11 @@ HOST_U_64BIT_TYPE=
 
 case "${host}" in
 
-hppa*-*-hpux*)         HDEFINES=-DHOST_HPPAHPUX ;;
+hppa*-*-hpux*)         # HP/UX's ftello64 et.al. declarations are only
+                       # visible when _LARGEFILE64_SOURCE is defined.
+                       # Without those declarations, real_ftell et.al.
+                       # get mis-compiled.
+                       HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;;
 hppa*-*-hiux*)         HDEFINES=-DHOST_HPPAHPUX ;;
 hppa*-*-mpeix*)                HDEFINES=-DHOST_HPPAMPEIX ;;
 hppa*-*-bsd*)          HDEFINES=-DHOST_HPPABSD ;;
@@ -27,6 +31,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 ;;
This page took 0.023319 seconds and 4 git commands to generate.