This revision was automatically updated to reflect the committed changes.
Closed by commit rL282681: [libc++] Add missing locale aliases (authored by 
smeenai).

Changed prior to commit:
  https://reviews.llvm.org/D25059?vs=72942&id=72948#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D25059

Files:
  libcxx/trunk/include/support/win32/locale_win32.h

Index: libcxx/trunk/include/support/win32/locale_win32.h
===================================================================
--- libcxx/trunk/include/support/win32/locale_win32.h
+++ libcxx/trunk/include/support/win32/locale_win32.h
@@ -43,8 +43,9 @@
 #define mbtowc_l _mbtowc_l
 #define strtoll_l _strtoi64_l
 #define strtoull_l _strtoui64_l
-// FIXME: current msvcrt does not know about long double
-#define strtold_l _strtod_l
+#define strtof_l _strtof_l
+#define strtod_l _strtod_l
+#define strtold_l _strtold_l
 
 inline _LIBCPP_INLINE_VISIBILITY
 int


Index: libcxx/trunk/include/support/win32/locale_win32.h
===================================================================
--- libcxx/trunk/include/support/win32/locale_win32.h
+++ libcxx/trunk/include/support/win32/locale_win32.h
@@ -43,8 +43,9 @@
 #define mbtowc_l _mbtowc_l
 #define strtoll_l _strtoi64_l
 #define strtoull_l _strtoui64_l
-// FIXME: current msvcrt does not know about long double
-#define strtold_l _strtod_l
+#define strtof_l _strtof_l
+#define strtod_l _strtod_l
+#define strtold_l _strtold_l
 
 inline _LIBCPP_INLINE_VISIBILITY
 int
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to