diff options
Diffstat (limited to 'lib/Support/Errno.cpp')
-rw-r--r-- | lib/Support/Errno.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Errno.cpp b/lib/Support/Errno.cpp index 312d91e063..18c658173a 100644 --- a/lib/Support/Errno.cpp +++ b/lib/Support/Errno.cpp @@ -50,7 +50,7 @@ std::string StrError(int errnum) { # else strerror_r(errnum,buffer,MaxErrStrLen-1); # endif -#elif defined(HAVE_STRERROR_S) // Windows. +#elif HAVE_DECL_STRERROR_S // "Windows Secure API" if (errnum) strerror_s(buffer, errnum); #elif defined(HAVE_STRERROR) |