Author: smeenai Date: Wed Sep 28 22:35:41 2016 New Revision: 282681 URL: http://llvm.org/viewvc/llvm-project?rev=282681&view=rev Log: [libc++] Add missing locale aliases
Add underscore aliases for strtof_l and strtod_l. _strtold_l exists in VS 2013 and above, so fix that definition as a drive-by fix. Differential Revision: https://reviews.llvm.org/D25059 Modified: libcxx/trunk/include/support/win32/locale_win32.h Modified: libcxx/trunk/include/support/win32/locale_win32.h URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/support/win32/locale_win32.h?rev=282681&r1=282680&r2=282681&view=diff ============================================================================== --- libcxx/trunk/include/support/win32/locale_win32.h (original) +++ libcxx/trunk/include/support/win32/locale_win32.h Wed Sep 28 22:35:41 2016 @@ -43,8 +43,9 @@ decltype(MB_CUR_MAX) MB_CUR_MAX_L( local #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