X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fbottom.m4;h=6306aee178a873508c98976a5ea32c86dfba1019;hb=641b3d37fe96eadfea520035cc1703328163e357;hp=9f99d428b6a68c787e484a37cad192f978439b75;hpb=5abb93aa2fc9d32eda20c84cc9c04056789c056e;p=awesomized%2Flibmemcached diff --git a/m4/bottom.m4 b/m4/bottom.m4 index 9f99d428..6306aee1 100644 --- a/m4/bottom.m4 +++ b/m4/bottom.m4 @@ -12,12 +12,14 @@ AH_TOP([ AH_BOTTOM([ +#ifndef __STDC_FORMAT_MACROS +# define __STDC_FORMAT_MACROS +#endif + #if defined(__cplusplus) -#include CSTDINT_H -#include CINTTYPES_H +# include CINTTYPES_H #else -#include -#include +# include #endif #if !defined(HAVE_ULONG) && !defined(__USE_MISC) @@ -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 ])