You've already forked godot
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:
@@ -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__)))
|
||||
|
||||
Reference in New Issue
Block a user