diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-03 11:29:32 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-03 11:29:32 +0000 |
commit | 62e24ca477695c2c14d8af1ea63b8216ed03d965 (patch) | |
tree | 07685bf2738c391b6a13be40f5eeba4f03831a82 /libc/sysdeps/linux | |
parent | 1d05822f29086242572801e2f19fff5c0f2b2d2c (diff) |
getopt_long[_only] visible only if GNU getopt used
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/bits/getopt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/getopt.h b/libc/sysdeps/linux/common/bits/getopt.h index a192c039b..6d1ebcf13 100644 --- a/libc/sysdeps/linux/common/bits/getopt.h +++ b/libc/sysdeps/linux/common/bits/getopt.h @@ -157,6 +157,7 @@ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) extern int getopt (); #endif /* __GNU_LIBRARY__ */ +#ifdef __UCLIBC_HAS_GNU_GETOPT__ #ifndef __need_getopt extern int getopt_long (int ___argc, char *const *___argv, const char *__shortopts, @@ -168,6 +169,7 @@ extern int getopt_long_only (int ___argc, char *const *___argv, __THROW; #endif +#endif #ifdef __cplusplus } |