X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=config.h;h=82537b28878bfc3e5c7fbf499e69191732c9a9ff;hp=2a7086c5ff93ea65c162a63950713313b34f3e83;hb=d40331c745a6e4a56a3ea210ef9e1e264f7e6e5a;hpb=fa17e06a05828234ae0b505e1fe07b8171d02d07 diff --git a/config.h b/config.h index 2a7086c5..82537b28 100644 --- a/config.h +++ b/config.h @@ -1,11 +1,23 @@ -/* Simple config.h for gcc. */ +/* Simple config.h for recent gcc. */ #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_GETPAGESIZE 1 #define HAVE_LITTLE_ENDIAN 1 #define HAVE_MMAP 1 @@ -13,9 +25,4 @@ #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