projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe0a63
)
Fix typo - ac defined are prefixed with FOLLY_
author
Sara Golemon
<sgolemon@fb.com>
Thu, 2 Jul 2015 21:02:18 +0000
(14:02 -0700)
committer
Sara Golemon
<sgolemon@fb.com>
Thu, 2 Jul 2015 22:46:00 +0000
(15:46 -0700)
Summary: Got this ifdef wrong in my last change here.
Reviewed By: @paulbiss
Differential Revision:
D2213708
folly/String.cpp
patch
|
blob
|
history
diff --git
a/folly/String.cpp
b/folly/String.cpp
index bbf8f323a2a3003c660df5362955cd9fac220a7a..7e23a6644973abe6ba1e2759c053437fe9fd5a9a 100644
(file)
--- 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));