Fixed: warning: missing braces around initializer
[awesomized/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 ],[
14 ;
15 ], AC_MSG_ERROR([Unsupported struct padding done by compiler.]))
16
17 dnl ---------------------------------------------------------------------------
18 dnl End Macro: PROTOCOL_BINARY_TEST
19 dnl ---------------------------------------------------------------------------