Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2010 22:52:09 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r206058 - head/lib/libz
Message-ID:  <201004012252.o31Mq9M6069003@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Thu Apr  1 22:52:09 2010
New Revision: 206058
URL: http://svn.freebsd.org/changeset/base/206058

Log:
  Remove _LARGEFILE64_SOURCE==1 case which is supposed to be always false
  on FreeBSD.
  
  Pointed out by:	dougb

Modified:
  head/lib/libz/zconf.h

Modified: head/lib/libz/zconf.h
==============================================================================
--- head/lib/libz/zconf.h	Thu Apr  1 21:21:45 2010	(r206057)
+++ head/lib/libz/zconf.h	Thu Apr  1 22:52:09 2010	(r206058)
@@ -364,7 +364,7 @@ typedef uLong FAR uLongf;
 #  define Z_HAVE_UNISTD_H
 #endif
 
-#if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE == 1
+#if defined(Z_HAVE_UNISTD_H)
 #  include <sys/types.h>    /* for off_t */
 #  include <unistd.h>       /* for SEEK_* and off_t */
 #  ifdef VMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004012252.o31Mq9M6069003>