X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fbottom.m4;h=6306aee178a873508c98976a5ea32c86dfba1019;hb=f154f10002fe127f9defcf5f70f9654c2816b965;hp=303aaf7a6cc7d614c0088362f4a85ddbeb5333fc;hpb=bce9a74e8addd1085b2e751508bf9ab0c2e84e45;p=awesomized%2Flibmemcached diff --git a/m4/bottom.m4 b/m4/bottom.m4 index 303aaf7a..6306aee1 100644 --- a/m4/bottom.m4 +++ b/m4/bottom.m4 @@ -12,7 +12,9 @@ AH_TOP([ AH_BOTTOM([ -#define __STDC_FORMAT_MACROS +#ifndef __STDC_FORMAT_MACROS +# define __STDC_FORMAT_MACROS +#endif #if defined(__cplusplus) # include CINTTYPES_H @@ -28,6 +30,12 @@ typedef unsigned long int ulong; #define RPACKAGE "memcached" #define RVERSION "1.4.13" + +#ifdef WORDS_BIGENDIAN +# define ENDIAN_BIG 1 +#else +# define ENDIAN_LITTLE 1 +#endif ])