Commit 4a0bffd8 authored by Sara Golemon's avatar Sara Golemon

Fix typo - ac defined are prefixed with FOLLY_

Summary: Got this ifdef wrong in my last change here.

Reviewed By: @paulbiss

Differential Revision: D2213708
parent 8fe0a63e
...@@ -342,7 +342,8 @@ fbstring errnoStr(int err) { ...@@ -342,7 +342,8 @@ fbstring errnoStr(int err) {
} else { } else {
result.assign(buf); 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 // Using XSI-compatible strerror_r
int r = strerror_r(err, buf, sizeof(buf)); int r = strerror_r(err, buf, sizeof(buf));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment