Definition of off64_t

2008-09-30 Thread hibablu
Hi,

I am trying to port an application written on Linux to FreeBSD.
During compile, I am getting an error saying that off64_t is not
defined.  Which header file do I need to include to get the definition
for off64_t ?

Thanks in advance,
Chandan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Definition of off64_t

2008-09-30 Thread Dan Nelson
In the last episode (Sep 30), hibablu said:
 I am trying to port an application written on Linux to FreeBSD.
 During compile, I am getting an error saying that off64_t is not
 defined.  Which header file do I need to include to get the definition
 for off64_t ?

There is no need for an off64_t on FreeBSD.  The program should use
off_t instead, and on Linux, they should add the compiler flags
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 so that off_t is 64 bits
on Linux as well.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]