[git commit master 1/1] disable _POSIX2_LOCALEDEF

Peter S. Mazinger ps.m at gmx.net
Wed Mar 9 12:36:36 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=65e4d45a77ca147fe0988e2b3c452196c490a11c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

uClibc does not provide the localedef utility

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 include/unistd.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/unistd.h b/include/unistd.h
index 5d3a4cb..c421cb3 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -51,9 +51,11 @@ __BEGIN_DECLS
    Software Development Utilities Option.  */
 #define	_POSIX2_SW_DEV	200112L
 
+#if 0 /* uClibc does not provide the utility */
 /* If defined, the implementation supports the
    creation of locales with the localedef utility.  */
 #define _POSIX2_LOCALEDEF       200112L
+#endif
 
 /* X/Open version number to which the library conforms.  It is selectable.  */
 #ifdef __USE_UNIX98
-- 
1.7.3.4



More information about the uClibc-cvs mailing list