svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits
psm at uclibc.org
psm at uclibc.org
Fri Feb 3 11:29:33 UTC 2006
Author: psm
Date: 2006-02-03 03:29:32 -0800 (Fri, 03 Feb 2006)
New Revision: 13804
Log:
getopt_long[_only] visible only if GNU getopt used
Modified:
trunk/uClibc/libc/sysdeps/linux/common/bits/getopt.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/getopt.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/getopt.h 2006-02-03 11:26:19 UTC (rev 13803)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/getopt.h 2006-02-03 11:29:32 UTC (rev 13804)
@@ -157,6 +157,7 @@
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 @@
__THROW;
#endif
+#endif
#ifdef __cplusplus
}
More information about the uClibc-cvs
mailing list