projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
c++: Fix possible string truncation
[awesomized/libmemcached]
/
m4
/
bottom.m4
diff --git
a/m4/bottom.m4
b/m4/bottom.m4
index 9f99d428b6a68c787e484a37cad192f978439b75..d2252ac743a35cc259ab60a3466e5f6592364be2 100644
(file)
--- a/
m4/bottom.m4
+++ b/
m4/bottom.m4
@@
-5,19
+5,21
@@
AH_TOP([
/* _SYS_FEATURE_TESTS_H is Solaris, _FEATURES_H is GCC */
#if defined( _SYS_FEATURE_TESTS_H) || defined(_FEATURES_H)
/* _SYS_FEATURE_TESTS_H is Solaris, _FEATURES_H is GCC */
#if defined( _SYS_FEATURE_TESTS_H) || defined(_FEATURES_H)
-#error "You should include config.h as your first include file"
+#error "You should include
mem_
config.h as your first include file"
#endif
])
AH_BOTTOM([
#endif
])
AH_BOTTOM([
+#ifndef __STDC_FORMAT_MACROS
+# define __STDC_FORMAT_MACROS
+#endif
+
#if defined(__cplusplus)
#if defined(__cplusplus)
-#include CSTDINT_H
-#include CINTTYPES_H
+# include CINTTYPES_H
#else
#else
-#include <stdint.h>
-#include <inttypes.h>
+# include <inttypes.h>
#endif
#if !defined(HAVE_ULONG) && !defined(__USE_MISC)
#endif
#if !defined(HAVE_ULONG) && !defined(__USE_MISC)
@@
-25,10
+27,6
@@
AH_BOTTOM([
typedef unsigned long int ulong;
#endif
typedef unsigned long int ulong;
#endif
-#define RPACKAGE "memcached"
-
-#define RVERSION "1.4.13"
-
])
])dnl CONFIG_EXTRA
])
])dnl CONFIG_EXTRA