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:
parent
0d09f3caf2
commit
7faea1ace8
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue