X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=config.h;h=4e6ba3a7502774c2dbcd50c27eb6323e73a55d7b;hp=da831e08f4dd7a1cb4dc836462e0119ceb07d8de;hb=993b67a5cce1414578d5fac3c10e89e2236613f8;hpb=4c00ae05fa9ccac14883c44de158620e301ff8e6;ds=sidebyside diff --git a/config.h b/config.h index da831e08..4e6ba3a7 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 @@ -28,6 +31,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 @@ -36,7 +40,6 @@ #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