We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7b231a commit f59140eCopy full SHA for f59140e
ReactCommon/yoga/yoga/Yoga.cpp
@@ -133,6 +133,12 @@ static int YGDefaultLog(const YGConfigRef config,
133
#endif
134
135
bool YGFloatIsUndefined(const float value) {
136
+// TODO(gkm): Ugh! Some Android builds (r13b & clang-3.8) fail
137
+// with the kludge below, so we must tailor it specifically for
138
+// NDK r15c which has clang-5.0. NDK r16 will make it all better.
139
+#if __ANDROID__ && __clang_major__ == 5 // TODO(gkm): remove for NDK >= 16
140
+ using std::isnan;
141
+#endif
142
return isnan(value);
143
}
144
0 commit comments