1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

embree: cross compile fixes.

Fix typos in #if; add missing _MSC_VER; avoid warning in random generator.
This commit is contained in:
Lyuma
2021-01-18 06:20:24 -08:00
parent 0b3540a03c
commit 2c2f70c444
5 changed files with 33 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ typedef int ssize_t;
#endif
#endif
#ifdef _WIN32
#if defined(_WIN32) && defined(_MSC_VER)
# define RTC_ALIGN(...) __declspec(align(__VA_ARGS__))
#else
# define RTC_ALIGN(...) __attribute__((aligned(__VA_ARGS__)))