From: Sara Golemon Date: Thu, 2 Jul 2015 21:02:18 +0000 (-0700) Subject: Fix typo - ac defined are prefixed with FOLLY_ X-Git-Tag: v0.49.0~5 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=4a0bffd8b7952787312c053719a3534c2dc91441 Fix typo - ac defined are prefixed with FOLLY_ Summary: Got this ifdef wrong in my last change here. Reviewed By: @paulbiss Differential Revision: D2213708 --- 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));