2004-02-14 Andrew Cagney <cagney@redhat.com>

* configure.host (HDEFINES): When hppa*-*-hpux*, define
	_LARGEFILE64_SOURCE.
This commit is contained in:
Andrew Cagney 2004-02-14 15:38:20 +00:00
parent 9bf78c997e
commit ca0b76868a
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-02-14 Andrew Cagney <cagney@redhat.com>
* configure.host (HDEFINES): When hppa*-*-hpux*, define
_LARGEFILE64_SOURCE.
2004-02-13 Andrew Cagney <cagney@redhat.com>
* elf.c (vma_page_aligned_bias): New function.

View 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 ;;