OSDN Git Service

- make it compile with !__UCLIBC_HAS_LOCALE__
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 20 May 2008 07:56:12 +0000 (07:56 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 20 May 2008 07:56:12 +0000 (07:56 -0000)
include/locale.h

index ba04e89..c708d44 100644 (file)
@@ -132,7 +132,7 @@ extern struct lconv *localeconv (void) __THROW;
 __END_NAMESPACE_STD
 
 
-#if defined(__USE_GNU)
+#if defined(__USE_GNU) && defined(__UCLIBC_HAS_LOCALE__)
 /* The concept of one static locale per category is not very well
    thought out.  Many applications will need to process its data using
    information from several different locales.  Another application is