summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-12-12 16:18:12 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-12-12 16:18:12 +0100
commit067637375658047d70c296606ae17ef0bc86499d (patch)
tree3310aa2ed1489274cae928e0e9ab350ecf3af3c6 /libc/sysdeps/linux
parentd6da534cbf05dc4d09221881afd49b275ca7cd29 (diff)
unistd: allow to turn off getopt_long
The GNU variant of getopt() previously had no way to turn off getopt_long() support.
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/bits/getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/getopt.h b/libc/sysdeps/linux/common/bits/getopt.h
index a49f023ce..dababe07d 100644
--- a/libc/sysdeps/linux/common/bits/getopt.h
+++ b/libc/sysdeps/linux/common/bits/getopt.h
@@ -126,7 +126,7 @@ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
__THROW;
libc_hidden_proto(getopt)
-#if defined __UCLIBC_HAS_GNU_GETOPT__ || defined __UCLIBC_HAS_GETOPT_LONG__
+#if defined __UCLIBC_HAS_GETOPT_LONG__
#ifndef __need_getopt
extern int getopt_long (int ___argc, char *const *___argv,
const char *__shortopts,