forked from AuroraMiddleware/gtk
Merge branch 'msvc-fix' into 'master'
Fix illegal instruction crash on x64 CPUs without POPCNT instruction when compiled with MSVC See merge request GNOME/gtk!3664
This commit is contained in:
commit
65212535df
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined (_M_ARM) && !defined (_M_ARM64)
|
#if (defined(_MSC_VER) && !_M_ARM && !_M_ARM64) && (__AVX__ || __SSE4_2__ || __POPCNT__)
|
||||||
#include <intrin.h>
|
#include <intrin.h>
|
||||||
|
|
||||||
static inline guint
|
static inline guint
|
||||||
|
Loading…
Reference in New Issue
Block a user