projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MacOSX compatibility: check whether memcpy is a macro, and if #undef it to get the...
[citadel.git]
/
libcitadel
/
lib
/
stringbuf.c
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index 963c55f6a7fbe1a398751e6f4893bf31d7f9df81..ba88a2f431bbfe594661dd738bc3deaba19917e3 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-40,8
+40,8
@@
#include <execinfo.h>
#endif
#include <execinfo.h>
#endif
-#ifdef
LINUX_SENDFILE
-#
include <sys/sendfile.h>
+#ifdef
UNDEF_MEMCPY
+#
undef memcpy
#endif
#ifdef HAVE_ZLIB
#endif
#ifdef HAVE_ZLIB