git://git.jankratochvil.net
/
mdsms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version bumped to 1.4.1.
[mdsms.git]
/
acconfig.h
diff --git
a/acconfig.h
b/acconfig.h
index
fe6b142
..
a2cd01e
100644
(file)
--- a/
acconfig.h
+++ b/
acconfig.h
@@
-45,15
+45,20
@@
/* vsnprintf(3) unsafe emulation */
#undef HAVE_VSNPRINTF
/* vsnprintf(3) unsafe emulation */
#undef HAVE_VSNPRINTF
-/* printf family accepts %m */
-#undef PRINTF_WORKS_PM
-
/* found lockfile directory */
#undef DEF_LOCKFILE
/* how to declare __atribute__ ((__unused__)) */
#undef ATTR_UNUSED
/* found lockfile directory */
#undef DEF_LOCKFILE
/* how to declare __atribute__ ((__unused__)) */
#undef ATTR_UNUSED
+/* whether they have __atttribute__ ((format(printf,...))) */
+#undef HAVE_PRINTFORMAT
+#ifdef HAVE_PRINTFORMAT
+#define ATTR_PRINTFORMAT(a,b) __attribute__ ((format(printf,(a),(b))))
+#else
+#define ATTR_PRINTFORMAT(a,b)
+#endif
+
@BOTTOM@
#ifndef DONT_NEED_DECLARATIONS
@BOTTOM@
#ifndef DONT_NEED_DECLARATIONS