]> git.ozlabs.org Git - ccan/blobdiff - config.h
alloc: fix examples so they compile.
[ccan] / config.h
index f3cdddf4d9ced75a65d3956af9befa9f0dfb296b..cc9375a06429684f354185613e936b9ace25efd6 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,9 +1,14 @@
-/* Simple config.h for gcc. */
+/* Simple config.h for recent gcc. */
 #define HAVE_ALIGNOF 1
+#define HAVE_ATTRIBUTE_CONST 1
 #define HAVE_ATTRIBUTE_COLD 1
+#define HAVE_ATTRIBUTE_MAY_ALIAS 1
 #define HAVE_ATTRIBUTE_PRINTF 1
+#define HAVE_ATTRIBUTE_USED 1
+#define HAVE_ATTRIBUTE_UNUSED 1
 #define HAVE_BIG_ENDIAN 0
 #define HAVE_BUILTIN_CHOOSE_EXPR 1
+#define HAVE_BUILTIN_CONSTANT_P 1
 #define HAVE_BUILTIN_EXPECT 1
 #define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1
 #define HAVE_GETPAGESIZE 1
 #define HAVE_STATEMENT_EXPR 1
 #define HAVE_TYPEOF 1
 #define HAVE_UTIME 1
+#define HAVE_BUILTIN_CLZ 1
+#define HAVE_BUILTIN_CLZL 1
+#define HAVE_BUILTIN_CLZLL 1
+#define HAVE_BUILTIN_FFSL 1
+#define HAVE_BUILTIN_POPCOUNTL 1
+#define HAVE_BYTESWAP_H 1
+#define HAVE_BSWAP_64 1