]> git.ozlabs.org Git - ccan/blobdiff - config.h
tdb2: use config.h instead of setting _XOPEN_SOURCE etc.
[ccan] / config.h
index c540af3002cb32e0035397f70e54cf6388584772..22e6c2f97565aafde65f9a6e12c2cb9c10394913 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,10 +1,12 @@
+/* Generated by CCAN configurator */
 #ifndef CCAN_CONFIG_H
 #define CCAN_CONFIG_H
-/* Generated by CCAN configurator */
+#define _GNU_SOURCE /* Always use GNU extensions. */
 #define CCAN_COMPILER "cc"
-#define CCAN_CFLAGS "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations"
+#define CCAN_CFLAGS "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -DCCAN_STR_DEBUG=1"
 
 #define HAVE_ALIGNOF 1
+#define HAVE_ASPRINTF 1
 #define HAVE_ATTRIBUTE_COLD 1
 #define HAVE_ATTRIBUTE_CONST 1
 #define HAVE_ATTRIBUTE_MAY_ALIAS 1