mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-16 16:35:45 +00:00
Set a dummy cpu_exec_mrs() macro when inline ASM is not supported
Fix #201
This commit is contained in:
parent
c5d9b387d1
commit
6e6b4bcbf5
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@
|
|||
# else
|
||||
# error "Unsupported compiler"
|
||||
# endif /* COMPILER */
|
||||
# else
|
||||
# define cpu_exec_mrs(reg_name, reg_value) /* no-op */
|
||||
#endif /* INLINE_ASM_SUPPORTED */
|
||||
|
||||
int cpuid_exists_by_eflags(void);
|
||||
|
|
Loading…
Reference in a new issue