Fix typo - ac defined are prefixed with FOLLY_
[folly.git] / folly / String.cpp
index bbf8f323a2a3003c660df5362955cd9fac220a7a..7e23a6644973abe6ba1e2759c053437fe9fd5a9a 100644 (file)
@@ -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));