|
@@ -313,11 +313,11 @@
|
|
- __convert_from_v(char* __out,
|
|
- __convert_from_v(char* __out,
|
|
- const int __size __attribute__ ((__unused__)),
|
|
- const int __size __attribute__ ((__unused__)),
|
|
- const char* __fmt,
|
|
- const char* __fmt,
|
|
--#ifdef __UCLIBC_HAS_XCLOCALE__
|
|
|
|
|
|
+-#ifdef __UCLIBC_HAS_XLOCALE__
|
|
- _Tv __v, const __c_locale& __cloc, int __prec)
|
|
- _Tv __v, const __c_locale& __cloc, int __prec)
|
|
+ inline int
|
|
+ inline int
|
|
+ __convert_from_v(const __c_locale&
|
|
+ __convert_from_v(const __c_locale&
|
|
-+#ifndef __UCLIBC_HAS_XCLOCALE__
|
|
|
|
|
|
++#ifndef __UCLIBC_HAS_XLOCALE__
|
|
+ __cloc __attribute__ ((__unused__))
|
|
+ __cloc __attribute__ ((__unused__))
|
|
+#endif
|
|
+#endif
|
|
+ ,
|
|
+ ,
|
|
@@ -326,7 +326,7 @@
|
|
+ const char* __fmt, ...)
|
|
+ const char* __fmt, ...)
|
|
{
|
|
{
|
|
+ va_list __args;
|
|
+ va_list __args;
|
|
-+#ifdef __UCLIBC_HAS_XCLOCALE__
|
|
|
|
|
|
++#ifdef __UCLIBC_HAS_XLOCALE__
|
|
__c_locale __old = __gnu_cxx::__uselocale(__cloc);
|
|
__c_locale __old = __gnu_cxx::__uselocale(__cloc);
|
|
#else
|
|
#else
|
|
- _Tv __v, const __c_locale&, int __prec)
|
|
- _Tv __v, const __c_locale&, int __prec)
|
|
@@ -343,5 +343,5 @@
|
|
+ const int __ret = std::vsnprintf(__out, __size, __fmt, __args);
|
|
+ const int __ret = std::vsnprintf(__out, __size, __fmt, __args);
|
|
+ va_end(__args);
|
|
+ va_end(__args);
|
|
|
|
|
|
- #ifdef __UCLIBC_HAS_XCLOCALE__
|
|
|
|
|
|
+ #ifdef __UCLIBC_HAS_XLOCALE__
|
|
__gnu_cxx::__uselocale(__old);
|
|
__gnu_cxx::__uselocale(__old);
|