1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00

Fix issue #115: INLINE_ASM_SUPPORTED Visual Studio x86

Reintroduce the INLINE_ASM_SUPPORTED macro for MSVC/x86
This commit is contained in:
Veselin Georgiev 2018-07-22 03:55:28 +03:00
parent 0d09f3caf2
commit 7faea1ace8

View file

@ -58,7 +58,9 @@
#endif
/* Under Windows/AMD64 with MSVC, inline assembly isn't supported */
#if ((defined(COMPILER_GCC) || defined(COMPILER_CLANG))) && (defined(PLATFORM_X64) || defined(PLATFORM_X86) || defined(PLATFORM_ARM))
#if (((defined(COMPILER_GCC) || defined(COMPILER_CLANG))) && \
(defined(PLATFORM_X64) || defined(PLATFORM_X86) || defined(PLATFORM_ARM))) || \
(defined(COMPILER_MICROSOFT) && defined(PLATFORM_X86))
# define INLINE_ASM_SUPPORTED
#endif