Fixed: warning: missing braces around initializer
[awesomized/libmemcached] / config / byteorder.m4
1 AC_RUN_IFELSE([
2 AC_LANG_PROGRAM([
3 #include <sys/types.h>
4 #include <netinet/in.h>
5 #include <inttypes.h>
6 ], [
7 if (htonl(5) != 5) {
8 return 1;
9 }
10 ])
11 ], AC_DEFINE([BYTEORDER_BIG_ENDIAN], [1], [Enable big endian byteorder]))