diff options
| author | Juan Linietsky | 2014-12-20 15:30:06 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-12-20 15:30:06 -0300 |
| commit | a36a774897ae191ebb90ba803bac7f919e92bd6c (patch) | |
| tree | 38a60d8a92d9add2f9641f1c4047d29821aa278a /core/math/math_funcs.h | |
| parent | 7dbc19f32db7b63062e715381923c873bf18683e (diff) | |
| download | godot-a36a774897ae191ebb90ba803bac7f919e92bd6c.tar.gz godot-a36a774897ae191ebb90ba803bac7f919e92bd6c.tar.zst godot-a36a774897ae191ebb90ba803bac7f919e92bd6c.zip | |
Diffstat (limited to 'core/math/math_funcs.h')
| -rw-r--r-- | core/math/math_funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index 28a841332..6d43ed8e6 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -136,7 +136,7 @@ public: static int b; -#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0603 // windows 8? +#if (defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0603) || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP // windows 8 phone? b = (int)((a>0.0f) ? (a + 0.5f):(a -0.5f)); #elif defined(_MSC_VER) && _MSC_VER < 1800 |
