mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r17507: pread and pwrite depends on HAVE_PREAD/HAVE_PWRITE not HAVE_PREAD_DECL/HAVE_PWRITE_DECL
and common/io.h already defines pread and pwrite as static if they are not. remove unneded defines (This used to be commit 941f680453a081d51f6499f9b5dc06c7e6640334)
This commit is contained in:
parent
8b9e08fe76
commit
c017cb1461
@ -46,13 +46,6 @@
|
||||
#endif
|
||||
#include "tdb.h"
|
||||
|
||||
#ifndef HAVE_PREAD_DECL
|
||||
ssize_t pread(int fd, void *buf, size_t count, off_t offset);
|
||||
#endif
|
||||
#ifndef HAVE_PWRITE_DECL
|
||||
ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset);
|
||||
#endif
|
||||
|
||||
#else
|
||||
#include "includes.h"
|
||||
#include "lib/tdb/include/tdb.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user