Flush _all_ servers when we hit the prefetch limit
[m6w6/libmemcached] / config / protocol_binary.m4
1 dnl ---------------------------------------------------------------------------
2 dnl Macro: PROTOCOL_BINARY_TEST
3 dnl ---------------------------------------------------------------------------
4 AC_RUN_IFELSE([
5 AC_LANG_PROGRAM([
6 #include "libmemcached/memcached/protocol_binary.h"
7 ], [
8 protocol_binary_request_set request;
9 if (sizeof(request) != sizeof(request.bytes)) {
10 return 1;
11 }
12 ])
13 ],, AC_MSG_ERROR([Unsupported struct padding done by compiler.]))
14
15 dnl ---------------------------------------------------------------------------
16 dnl End Macro: PROTOCOL_BINARY_TEST
17 dnl ---------------------------------------------------------------------------