1
0
Fork 0
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:
The Tumultuous Unicorn Of Darkness 2024-07-08 21:44:02 +02:00
parent c5d9b387d1
commit 6e6b4bcbf5
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A

View file

@ -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);