summaryrefslogtreecommitdiff
path: root/src/system_error.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-01 20:59:10 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-01 20:59:10 +0000
commitedb11085302f80f38c9d976f003aa1c9002c7abb (patch)
treeedfe9dcac670e9f47ee7fdee893130fcf86ba196 /src/system_error.cpp
parent10a0bef720b6882fce588a10b07b0584d62eac76 (diff)
Notes
Diffstat (limited to 'src/system_error.cpp')
-rw-r--r--src/system_error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system_error.cpp b/src/system_error.cpp
index cbbbb5dcd15c..17f2c9a5ba79 100644
--- a/src/system_error.cpp
+++ b/src/system_error.cpp
@@ -65,7 +65,7 @@ constexpr size_t strerror_buff_size = 1024;
string do_strerror_r(int ev);
-#if defined(_LIBCPP_MSVCRT)
+#if defined(_LIBCPP_MSVCRT_LIKE)
string do_strerror_r(int ev) {
char buffer[strerror_buff_size];
if (::strerror_s(buffer, strerror_buff_size, ev) == 0)