diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-11 21:38:59 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-11 21:38:59 +0000 |
commit | 5f0ab9b1c793bc0c3188a0535131aa6ccf858a68 (patch) | |
tree | c116795537b11d63abc9819507e46f53d0b3ad7d | |
parent | 2c30f1b79cb339d4b3d8c08aad0b430e7056f020 (diff) |
2002-06-08 Roland McGrath <roland@frob.com>
* ftpconn.h (ftp_conn_add_stat_fun_t) [_FILE_OFFSET_BITS != 64]:
Use struct stat64 in place of struct stat.
-rw-r--r-- | libftpconn/ftpconn.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libftpconn/ftpconn.h b/libftpconn/ftpconn.h index 67222de0..e445130e 100644 --- a/libftpconn/ftpconn.h +++ b/libftpconn/ftpconn.h @@ -1,6 +1,6 @@ /* Manage an ftp connection - Copyright (C) 1997,2001 Free Software Foundation, Inc. + Copyright (C) 1997,2001,02 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.org> @@ -49,7 +49,11 @@ struct ftp_conn_stat; symlink. NAME and SYMLINK_TARGET should be copied if they are used outside of this function. HOOK is as passed into ...get_stats. */ typedef error_t (*ftp_conn_add_stat_fun_t) (const char *name, +# if _FILE_OFFSET_BITS == 64 const struct stat *stat, +# else + const struct stat64 *stat, +# endif const char *symlink_target, void *hook); |