From ff6ce3999db93a52d1cd22510f8508b660ddf54e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 7 Feb 2015 09:54:24 +0100 Subject: only advertise when choosen As discussed on the uClibc mailinglist, do not advertise when not activated. See this thread: http://lists.uclibc.org/pipermail/uclibc/2015-February/048766.html --- include/gnu-versions.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/gnu-versions.h b/include/gnu-versions.h index f67764c7b..9f537785e 100644 --- a/include/gnu-versions.h +++ b/include/gnu-versions.h @@ -45,7 +45,9 @@ #define _GNU_OBSTACK_INTERFACE_VERSION 1 /* vs malloc/obstack.c */ #define _GNU_REGEX_INTERFACE_VERSION 1 /* vs posix/regex.c */ +#ifdef __UCLIBC_HAS_GNU_GLOB__ #define _GNU_GLOB_INTERFACE_VERSION 1 /* vs posix/glob.c */ +#endif #define _GNU_GETOPT_INTERFACE_VERSION 2 /* vs posix/getopt.c and posix/getopt1.c */ -- cgit v1.2.3