Skip to content

Commit

Permalink
fwd: Only include <intrin.h> for MSVC
Browse files Browse the repository at this point in the history
We use inline assembly for GCC and Clang, so it's unnecessary.
  • Loading branch information
lhmouse committed Nov 2, 2024
1 parent 912ed99 commit 8a33eab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mcfgthread/fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
#include <stdint.h>
#include <stdbool.h>
#include <limits.h>
#include <intrin.h>

#if defined _MSC_VER && !defined __clang__
# include <intrin.h> /* `__readfsdword()` etc. */
#endif

#if !defined _WIN32_WINNT
# define _WIN32_WINNT 0x0601
Expand Down

0 comments on commit 8a33eab

Please sign in to comment.