]> git.ozlabs.org Git - ccan/blobdiff - config.h
ccanlint: get rid of separate class of compulsory tests.
[ccan] / config.h
index dbfe0295fdf4c32c49ae672108c2905a0af373ce..912730e33dbbab8cb2b9ed3c28d07e0623bd4728 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,7 +1,9 @@
 /* Generated by CCAN configurator */
 #ifndef CCAN_CONFIG_H
 #define CCAN_CONFIG_H
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE /* Always use GNU extensions. */
+#endif
 #define CCAN_COMPILER "cc"
 #define CCAN_CFLAGS "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1"
 
@@ -15,6 +17,7 @@
 #define HAVE_ATTRIBUTE_PRINTF 1
 #define HAVE_ATTRIBUTE_UNUSED 1
 #define HAVE_ATTRIBUTE_USED 1
+#define HAVE_BACKTRACE 1
 #define HAVE_BIG_ENDIAN 0
 #define HAVE_BSWAP_64 1
 #define HAVE_BUILTIN_CHOOSE_EXPR 1