X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=config.h;h=da831e08f4dd7a1cb4dc836462e0119ceb07d8de;hp=c540af3002cb32e0035397f70e54cf6388584772;hb=97648992fdd50535fe276261368c179df993202b;hpb=62bbea8e5feea7b716c7bc8b41444080a24abc95 diff --git a/config.h b/config.h index c540af30..da831e08 100644 --- a/config.h +++ b/config.h @@ -1,10 +1,12 @@ +/* Generated by CCAN configurator */ #ifndef CCAN_CONFIG_H #define CCAN_CONFIG_H -/* Generated by CCAN configurator */ +#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 CCAN_CFLAGS "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1" #define HAVE_ALIGNOF 1 +#define HAVE_ASPRINTF 1 #define HAVE_ATTRIBUTE_COLD 1 #define HAVE_ATTRIBUTE_CONST 1 #define HAVE_ATTRIBUTE_MAY_ALIAS 1 @@ -29,9 +31,13 @@ #define HAVE_FOR_LOOP_DECLARATION 0 #define HAVE_FLEXIBLE_ARRAY_MEMBER 1 #define HAVE_GETPAGESIZE 1 +#define HAVE_ISBLANK 1 #define HAVE_LITTLE_ENDIAN 1 +#define HAVE_MEMMEM 1 #define HAVE_MMAP 1 +#define HAVE_QSORT_R_PRIVATE_LAST 1 #define HAVE_NESTED_FUNCTIONS 1 +#define HAVE_STACK_GROWS_UPWARDS 0 #define HAVE_STATEMENT_EXPR 1 #define HAVE_TYPEOF 1 #define HAVE_UTIME 1