X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=config.h;h=dbfe0295fdf4c32c49ae672108c2905a0af373ce;hp=4cd3f2edb16f8cb5db007378abe60b40161813e2;hb=4db6a6709bb3426466317c04c618bcb8034bb5b5;hpb=19b3fce293761bc300ac7bb57136772c8ae7b8fd;ds=sidebyside diff --git a/config.h b/config.h index 4cd3f2ed..dbfe0295 100644 --- a/config.h +++ b/config.h @@ -3,8 +3,9 @@ #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_32BIT_OFF_T 1 #define HAVE_ALIGNOF 1 #define HAVE_ASPRINTF 1 #define HAVE_ATTRIBUTE_COLD 1 @@ -28,12 +29,16 @@ #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 +#define HAVE_ISBLANK 1 #define HAVE_LITTLE_ENDIAN 1 +#define HAVE_MEMMEM 1 #define HAVE_MMAP 1 -#define HAVE_NESTED_FUNCTIONS 1 +#define HAVE_QSORT_R_PRIVATE_LAST 1 +#define HAVE_STACK_GROWS_UPWARDS 0 #define HAVE_STATEMENT_EXPR 1 #define HAVE_TYPEOF 1 #define HAVE_UTIME 1