projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
850df1f
)
OSX uses a different type in sendmesg() it seems.
author
Brian Aker
<brian@tangent.org>
Mon, 10 Sep 2012 08:28:45 +0000
(
04:28
-0400)
committer
Brian Aker
<brian@tangent.org>
Mon, 10 Sep 2012 08:28:45 +0000
(
04:28
-0400)
libmemcached/do.cc
patch
|
blob
|
history
diff --git
a/libmemcached/do.cc
b/libmemcached/do.cc
index 0d05ea6d4523675a6d89e0987e2ccd44b6b6c837..db533680f77193f80ea3dd6ce37eb65bcb1f3639 100644
(file)
--- a/
libmemcached/do.cc
+++ b/
libmemcached/do.cc
@@
-48,7
+48,11
@@
memcached_return_t memcached_vdo(org::libmemcached::Instance* instance,
vector[0].length= UDP_DATAGRAM_HEADER_LENGTH;
msg.msg_iov= (struct iovec*)vector;
+#if defined(TARGET_OS_OSX) && TARGET_OS_OSX
+ msg.msg_iovlen= int(count);
+#else
msg.msg_iovlen= count;
+#endif
uint32_t retry= 5;
while (--retry)