projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
770d4f6
)
m4: lost cinttypes
author
Michael Wallner
<mike@php.net>
Thu, 9 Jan 2020 19:25:14 +0000
(20:25 +0100)
committer
Michael Wallner
<mike@php.net>
Thu, 9 Jan 2020 19:25:14 +0000
(20:25 +0100)
m4/config_extra.m4
patch
|
blob
|
history
diff --git
a/m4/config_extra.m4
b/m4/config_extra.m4
index 276ed6e204ae091f6467474986476b5cafef612e..2a8a211ca7d08b6602efd0e43556a4d95fa7d90c 100644
(file)
--- a/
m4/config_extra.m4
+++ b/
m4/config_extra.m4
@@
-54,4
+54,24
@@
AH_TOP([
#endif
])
+
+AH_BOTTOM([
+
+#ifndef __STDC_FORMAT_MACROS
+# define __STDC_FORMAT_MACROS
+#endif
+
+#if defined(__cplusplus)
+# include CINTTYPES_H
+#else
+# include <inttypes.h>
+#endif
+
+#if !defined(HAVE_ULONG) && !defined(__USE_MISC)
+# define HAVE_ULONG 1
+typedef unsigned long int ulong;
+#endif
+
+])
+
])dnl CONFIG_EXTRA