Ticket #12981: patch-memcached.c
File patch-memcached.c, 360 bytes (added by ebgssth@…, 17 years ago) |
---|
Line | |
---|---|
1 | --- memcached.c.orig Sat Oct 27 19:10:44 2007 |
2 | +++ memcached.c Sat Oct 27 19:08:29 2007 |
3 | @@ -53,9 +53,9 @@ |
4 | #endif |
5 | #endif |
6 | |
7 | -/* FreeBSD 4.x doesn't have IOV_MAX exposed. */ |
8 | +/* FreeBSD 4.x and old OSX don't have IOV_MAX exposed */ |
9 | #ifndef IOV_MAX |
10 | -#if defined(__FreeBSD__) |
11 | +#if defined(__FreeBSD__) || defined(__APPLE__) |
12 | # define IOV_MAX 1024 |
13 | #endif |
14 | #endif |