X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=config.h;h=912730e33dbbab8cb2b9ed3c28d07e0623bd4728;hp=3b5823ceeabc5eaa2082a2d508d304eeaaa99a0e;hb=1e755481cb2d7eb439c51e3522a18ec6d3885829;hpb=7d21fec7d95839ea07c4389232b1f2e4c5fc8251 diff --git a/config.h b/config.h index 3b5823ce..912730e3 100644 --- a/config.h +++ b/config.h @@ -1,10 +1,13 @@ /* 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 "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1" +#define HAVE_32BIT_OFF_T 1 #define HAVE_ALIGNOF 1 #define HAVE_ASPRINTF 1 #define HAVE_ATTRIBUTE_COLD 1 @@ -14,6 +17,7 @@ #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 @@ -28,6 +32,7 @@ #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