X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=config.h;h=4cd3f2edb16f8cb5db007378abe60b40161813e2;hp=54291b4b9565c30986d5a75938f13e9ea6dd146d;hb=8da574fe7c6021afcb0afb8ae3a6bd462ee14413;hpb=46b1a03e21303e03b68de213b41c0840767fbc96 diff --git a/config.h b/config.h index 54291b4b..4cd3f2ed 100644 --- a/config.h +++ b/config.h @@ -1,13 +1,41 @@ -/* Simple config.h for gcc. */ -#define HAVE_TYPEOF 1 +/* Generated by CCAN configurator */ +#ifndef CCAN_CONFIG_H +#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 HAVE_ALIGNOF 1 -#define HAVE_STATEMENT_EXPR 1 -#define HAVE_BUILTIN_EXPECT 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_BUILTIN_TYPES_COMPATIBLE_P 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_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_FOR_LOOP_DECLARATION 0 +#define HAVE_FLEXIBLE_ARRAY_MEMBER 1 +#define HAVE_GETPAGESIZE 1 #define HAVE_LITTLE_ENDIAN 1 -#define HAVE_BIG_ENDIAN 0 #define HAVE_MMAP 1 -#define HAVE_GETPAGESIZE 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 +#endif /* CCAN_CONFIG_H */