projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix clang folly::to failure
[folly.git]
/
folly
/
test
/
ConvTest.cpp
diff --git
a/folly/test/ConvTest.cpp
b/folly/test/ConvTest.cpp
index 49da954d8bfc9cecb661292c05cb1b7f8b17a035..3cd09149ff53ce42b44c43c86ad3224f96377dac 100644
(file)
--- a/
folly/test/ConvTest.cpp
+++ b/
folly/test/ConvTest.cpp
@@
-592,7
+592,7
@@
TEST(Conv, UnsignedEnum) {
}
}
-#if defined(__
GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >=
7)
+#if defined(__
clang__) || __GNUC_PREREQ(4,
7)
// to<enum class> and to(enum class) only supported in gcc 4.7 onwards
TEST(Conv, UnsignedEnumClass) {