I think we can just remove the O_LARGEFILE usage from log.c (only
place it's used).
_FILE_OFFSET_BITS handles this now.
On Sun, Oct 5, 2008 at 6:03 PM, Vlad Seryakov
<ser...@us...> wrote:
> Update of /cvsroot/naviserver/naviserver/include
> In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21771/include
>
> Modified Files:
> nsthread.h
> Log Message:
> OS X does not have O_LARGEFILE
>
>
> Index: nsthread.h
> ===================================================================
> RCS file: /cvsroot/naviserver/naviserver/include/nsthread.h,v
> retrieving revision 1.42
> retrieving revision 1.43
> diff -C2 -d -r1.42 -r1.43
> *** nsthread.h 2 Oct 2008 01:36:18 -0000 1.42
> --- nsthread.h 5 Oct 2008 17:03:49 -0000 1.43
> ***************
> *** 246,249 ****
> --- 246,253 ----
> #endif
>
> + #ifdef __APPLE__
> + #define O_LARGEFILE 0
> + #endif
> +
> #define O_TEXT 0
> #define O_BINARY 0
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> naviserver-commits mailing list
> nav...@li...
> https://lists.sourceforge.net/lists/listinfo/naviserver-commits
>
|