X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=config.h;h=25609f136f4d9a0a9f4b8ac3999bd2a3366ec7b5;hp=fc2b892d3a01423c943599022d9589aad83dfab3;hb=6aa15db4f4b07bc25c83769255586de51ec7f614;hpb=e744ae4399c8dd37a76fa463e982eb8306b1351e diff --git a/config.h b/config.h index fc2b892d..25609f13 100644 --- a/config.h +++ b/config.h @@ -1,11 +1,16 @@ /* 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 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 +#define HAVE_ATTRIBUTE_NORETURN 1 #define HAVE_ATTRIBUTE_PRINTF 1 #define HAVE_ATTRIBUTE_UNUSED 1 #define HAVE_ATTRIBUTE_USED 1 @@ -24,11 +29,15 @@ #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_MEMMEM 1 #define HAVE_MMAP 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 #define HAVE_WARN_UNUSED_RESULT 1 +#endif /* CCAN_CONFIG_H */