mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
got smbw to compile again on Linux
(This used to be commit 614fd4119ce5aa37acd03321dc6ef263ae16bdc5)
This commit is contained in:
parent
8a72991abb
commit
16e4503cca
@ -1423,7 +1423,7 @@ say no to acls
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_EXPLICIT_LARGEFILE_SUPPORT
|
||||||
#ifdef HAVE_STAT64
|
#ifdef HAVE_STAT64
|
||||||
/* this can't be in wrapped.c because of include conflicts */
|
/* this can't be in wrapped.c because of include conflicts */
|
||||||
void stat64_convert(struct stat *st, struct stat64 *st64)
|
void stat64_convert(struct stat *st, struct stat64 *st64)
|
||||||
@ -1453,6 +1453,7 @@ say no to acls
|
|||||||
pstrcpy(d64->d_name, d->d_name);
|
pstrcpy(d64->d_name, d->d_name);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE___XSTAT
|
#ifdef HAVE___XSTAT
|
||||||
|
@ -92,7 +92,7 @@
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_PREAD64
|
#if defined(HAVE_PREAD64) && defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT)
|
||||||
ssize_t pread64(int fd, void *buf, size_t size, off64_t ofs)
|
ssize_t pread64(int fd, void *buf, size_t size, off64_t ofs)
|
||||||
{
|
{
|
||||||
if (smbw_fd(fd)) {
|
if (smbw_fd(fd)) {
|
||||||
@ -114,7 +114,7 @@
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_PWRITE64
|
#if defined(HAVE_PWRITE64) && defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT)
|
||||||
ssize_t pwrite64(int fd, void *buf, size_t size, off64_t ofs)
|
ssize_t pwrite64(int fd, void *buf, size_t size, off64_t ofs)
|
||||||
{
|
{
|
||||||
if (smbw_fd(fd)) {
|
if (smbw_fd(fd)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user