X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=config.h;h=22e6c2f97565aafde65f9a6e12c2cb9c10394913;hp=7ef5d3baf622ec104a27f8814f2613ed5d8cb0b0;hb=f31fde45981fb51260a61e04912c0f1162f131ec;hpb=1f4312c3320f353a18ab4aec4b8ae725fc25c911 diff --git a/config.h b/config.h index 7ef5d3ba..22e6c2f9 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 -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 @@ -33,3 +38,4 @@ #define HAVE_TYPEOF 1 #define HAVE_UTIME 1 #define HAVE_WARN_UNUSED_RESULT 1 +#endif /* CCAN_CONFIG_H */