We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13cd2d9 commit 34284feCopy full SHA for 34284fe
include/godot_cpp/core/math.hpp
@@ -768,7 +768,7 @@ inline double pingpong(double value, double length) {
768
inline int fast_ftoi(float a) {
769
static int b;
770
771
-#if (defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0603) || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP // windows 8 phone?
+#if (defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0603) || (defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP) // windows 8 phone?
772
b = (int)((a > 0.0) ? (a + 0.5) : (a - 0.5));
773
774
#elif defined(_MSC_VER) && _MSC_VER < 1800
0 commit comments