[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fopen bug on Solaris, HP-UX
From: |
Bruno Haible |
Subject: |
Re: fopen bug on Solaris, HP-UX |
Date: |
Mon, 29 Sep 2008 11:50:21 +0200 |
User-agent: |
KMail/1.5.4 |
Hi,
Michael Haubenwallner wrote:
> How do gnulib's file-functions respect the different sets of
> large-file-defines among several platforms in general?
The autoconf macro AC_SYS_LARGEFILE does it all. It defines _FILE_OFFSET_BITS,
_LARGE_FILES, or whatever system-dependent magic is needed to get 64-bit off_t
and associated functions.
It is a good idea to use AC_SYS_LARGEFILE in every package.
A few gnulib modules also require AC_SYS_LARGEFILE.
Bruno