]> git.ozlabs.org Git - ccan/blobdiff - config.h
alloc: fix missing header in compilation of example.
[ccan] / config.h
index 6cde6a4123670cfdb9e0efa6c218205fe8de8f47..bf6849097280a307f7fb51f4fd03943197f4f8b7 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,3 +1,33 @@
-/* Simple config.h for gcc. */
-#define HAVE_TYPEOF 1
+/* Generated by CCAN configurator */
+#define CCAN_COMPILER "cc"
+#define CCAN_CFLAGS "-g -O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror"
+
+#define HAVE_ALIGNOF 1
+#define HAVE_ATTRIBUTE_COLD 1
+#define HAVE_ATTRIBUTE_CONST 1
+#define HAVE_ATTRIBUTE_MAY_ALIAS 1
+#define HAVE_ATTRIBUTE_PRINTF 1
+#define HAVE_ATTRIBUTE_UNUSED 1
+#define HAVE_ATTRIBUTE_USED 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_POPCOUNTL 1
+#define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1
+#define HAVE_BYTESWAP_H 1
+#define HAVE_COMPOUND_LITERALS 1
+#define HAVE_FOR_LOOP_DECLARATION 0
+#define HAVE_GETPAGESIZE 1
+#define HAVE_LITTLE_ENDIAN 1
+#define HAVE_MMAP 1
+#define HAVE_NESTED_FUNCTIONS 1
 #define HAVE_STATEMENT_EXPR 1
+#define HAVE_TYPEOF 1
+#define HAVE_UTIME 1
+#define HAVE_WARN_UNUSED_RESULT 1