Преглед на файлове

- make it compile with !__UCLIBC_HAS_LOCALE__

Bernhard Reutner-Fischer преди 16 години
родител
ревизия
80af4542c0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      include/locale.h

+ 1 - 1
include/locale.h

@@ -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