diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-05 09:23:46 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-05 09:23:46 +0000 |
commit | 0c8288a72c6d6f2774dd57a7107ad68c98e0d24a (patch) | |
tree | 97ec8014259d4a3a2bcd60aba6fb2dafd4b6591d /source/smbwrapper/wrapped.c | |
parent | 8aa6c16eeb96d6a66a2946f5048126f175f9f609 (diff) | |
download | samba-0c8288a72c6d6f2774dd57a7107ad68c98e0d24a.tar.gz samba-0c8288a72c6d6f2774dd57a7107ad68c98e0d24a.tar.xz samba-0c8288a72c6d6f2774dd57a7107ad68c98e0d24a.zip |
this gets it compiling under IRIX 6.4. Doesn't work yet though.
Diffstat (limited to 'source/smbwrapper/wrapped.c')
-rw-r--r-- | source/smbwrapper/wrapped.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/smbwrapper/wrapped.c b/source/smbwrapper/wrapped.c index 6bfb465828b..e87bd5f1f20 100644 --- a/source/smbwrapper/wrapped.c +++ b/source/smbwrapper/wrapped.c @@ -76,17 +76,19 @@ } #endif +#ifndef NO_OPEN64_ALIAS #ifdef HAVE__OPEN64 int _open64(const char *name, int flags, mode_t mode) { return open64(name, flags, mode); } -#elif HAVE___OPEN +#elif HAVE___OPEN64 int __open64(const char *name, int flags, mode_t mode) { return open64(name, flags, mode); } #endif +#endif #ifdef HAVE_PREAD ssize_t pread(int fd, void *buf, size_t size, off_t ofs) @@ -626,7 +628,7 @@ #endif #ifdef HAVE_UTIMES - int utimes(const char *name,struct timeval tvp[2]) + int utimes(const char *name,const struct timeval tvp[2]) { if (smbw_path(name)) { return smbw_utimes(name, tvp); |