Peter Simons <[EMAIL PROTECTED]> writes:

> I recently added AC_SYS_LARGEFILE macro to my configure scripts, but I
> encountered an interesting problem on Solaris 8: The configure script
> adds the define "_FILE_OFFSET_BITS=64" to my CPPFLAGS, but once it does,
> <unistd.h> and colleagues don't define open(2) anymore; apparently, I
> have to use open64(2) instead.

You also need _LARGEFILE_SOURCE.  AC_SYS_LARGEFILE should be defining it
as well; is that not happening?

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to