summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-02-07 09:54:24 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-02-07 09:54:24 +0100
commitff6ce3999db93a52d1cd22510f8508b660ddf54e (patch)
treecc500467d8d99dd6426fb59420d02b398033ea82
parent5d775f82cb4269a6967196e4c5fa63c2af71b769 (diff)
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
-rw-r--r--include/gnu-versions.h2
1 files changed, 2 insertions, 0 deletions
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 */