diff options
-rw-r--r-- | intern/cycles/util/util_windows.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/intern/cycles/util/util_windows.cpp b/intern/cycles/util/util_windows.cpp index 6fd259713d9..ee5b3fd73c0 100644 --- a/intern/cycles/util/util_windows.cpp +++ b/intern/cycles/util/util_windows.cpp @@ -20,7 +20,9 @@ CCL_NAMESPACE_BEGIN -#include <VersionHelpers.h> +#ifdef _M_X64 +# include <VersionHelpers.h> +#endif #if _WIN32_WINNT < 0x0601 tGetActiveProcessorGroupCount *GetActiveProcessorGroupCount; @@ -50,7 +52,11 @@ static BOOL SetThreadGroupAffinity_stub( static bool supports_numa() { +#ifndef _M_X64 + return false; +#else return IsWindows7OrGreater(); +#endif } void util_windows_init_numa_groups() |