]> git.ozlabs.org Git - ccan/blobdiff - config.h
ttxml: fixed license test
[ccan] / config.h
index 2a7086c5ff93ea65c162a63950713313b34f3e83..09b45824603dff28faef4364110ae0c5f3c8f1e0 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,21 +1,52 @@
-/* Simple config.h for gcc. */
+/* 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 "-g3 -ggdb -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1"
+
+#define HAVE_CCAN 1
+#define HAVE_32BIT_OFF_T 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
+#define HAVE_ATTRIBUTE_NORETURN 1
 #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
+#define HAVE_BUILTIN_CLZ 1
+#define HAVE_BUILTIN_CLZL 1
+#define HAVE_BUILTIN_CLZLL 1
+#define HAVE_BUILTIN_CONSTANT_P 1
 #define HAVE_BUILTIN_EXPECT 1
+#define HAVE_BUILTIN_FFSL 1
+#define HAVE_BUILTIN_FFSLL 1
+#define HAVE_BUILTIN_POPCOUNTL 1
 #define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1
+#define HAVE_BYTESWAP_H 1
+#define HAVE_COMPOUND_LITERALS 1
+#define HAVE_FILE_OFFSET_BITS 1
+#define HAVE_FOR_LOOP_DECLARATION 0
+#define HAVE_FLEXIBLE_ARRAY_MEMBER 1
 #define HAVE_GETPAGESIZE 1
+#define HAVE_ISBLANK 1
 #define HAVE_LITTLE_ENDIAN 1
+#define HAVE_MEMMEM 1
 #define HAVE_MMAP 1
-#define HAVE_NESTED_FUNCTIONS 1
+#define HAVE_PROC_SELF_MAPS 1
+#define HAVE_QSORT_R_PRIVATE_LAST 1
+#define HAVE_SECTION_START_STOP 1
+#define HAVE_STACK_GROWS_UPWARDS 0
 #define HAVE_STATEMENT_EXPR 1
 #define HAVE_TYPEOF 1
 #define HAVE_UTIME 1
-#define HAVE_BUILTIN_CLZL 1
-#define HAVE_BUILTIN_FFSL 1
-#define HAVE_BUILTIN_POPCOUNTL 1
-#define HAVE_BYTESWAP_H 1
-#define HAVE_BSWAP_64 1
-#define HAVE_BUILTIN_CLZL 1
+#define HAVE_WARN_UNUSED_RESULT 1
+#endif /* CCAN_CONFIG_H */