Mercurial > gftp.yaz
changeset 437:ef3ea9f70d8a
2004-3-19 Brian Masney <masneyb@gftp.org>
* lib/gftp.h - if _LARGEFILE_SOURCE is defined, but _LARGEFILE64_SOURCE
is not defined, define it
author | masneyb |
---|---|
date | Fri, 19 Mar 2004 21:39:41 +0000 |
parents | 7f023f77bd60 |
children | 2663802750d0 |
files | ChangeLog lib/gftp.h |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Mar 18 18:48:57 2004 +0000 +++ b/ChangeLog Fri Mar 19 21:39:41 2004 +0000 @@ -1,3 +1,7 @@ +2004-3-19 Brian Masney <masneyb@gftp.org> + * lib/gftp.h - if _LARGEFILE_SOURCE is defined, but _LARGEFILE64_SOURCE + is not defined, define it + 2004-3-18 Brian Masney <masneyb@gftp.org> * lib/gftp.h configure.in - #define _LARGEFILE_SOURCE if sizeof(off_t) is greater than 4 and _LARGEFILE_SOURCE is not defined. @@ -2326,7 +2330,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.242 2004/03/18 14:38:06 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.243 2004/03/19 21:39:39 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/lib/gftp.h Thu Mar 18 18:48:57 2004 +0000 +++ b/lib/gftp.h Fri Mar 19 21:39:41 2004 +0000 @@ -31,6 +31,10 @@ #define _LARGEFILE_SOURCE 1 #endif +#if defined (_LARGEFILE_SOURCE) && !defined (_LARGEFILE64_SOURCE) +#define _LARGEFILE64_SOURCE 1 +#endif + #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h>