]> git.ozlabs.org Git - ccan/blobdiff - config.h
cast: fix compilation with GCC's -Wcast-qual
[ccan] / config.h
index 9d354869adc672d8044b5618f9d174ffd91df14c..682b4ce230fe479af6e64aa4f8572fe6095a637a 100644 (file)
--- a/config.h
+++ b/config.h
@@ -3,9 +3,10 @@
 #define CCAN_CONFIG_H
 #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
@@ -33,6 +34,7 @@
 #define HAVE_LITTLE_ENDIAN 1
 #define HAVE_MMAP 1
 #define HAVE_NESTED_FUNCTIONS 1
+#define HAVE_STACK_GROWS_UPWARDS 0
 #define HAVE_STATEMENT_EXPR 1
 #define HAVE_TYPEOF 1
 #define HAVE_UTIME 1