From 4a0bffd8b7952787312c053719a3534c2dc91441 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Thu, 2 Jul 2015 14:02:18 -0700 Subject: [PATCH] Fix typo - ac defined are prefixed with FOLLY_ Summary: Got this ifdef wrong in my last change here. Reviewed By: @paulbiss Differential Revision: D2213708 --- folly/String.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/folly/String.cpp b/folly/String.cpp index bbf8f323..7e23a664 100644 --- a/folly/String.cpp +++ b/folly/String.cpp @@ -342,7 +342,8 @@ fbstring errnoStr(int err) { } else { result.assign(buf); } -#elif defined(HAVE_XSI_STRERROR_R) || defined(__APPLE__) || defined(__ANDROID__) +#elif defined(FOLLY_HAVE_XSI_STRERROR_R) || \ + defined(__APPLE__) || defined(__ANDROID__) // Using XSI-compatible strerror_r int r = strerror_r(err, buf, sizeof(buf)); -- 2.34.1