mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add __x86_64__ guard to include x86intrin.h
This commit is contained in:
parent
5aa28d9d6d
commit
ef6ab776d5
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
#include "feature.h"
|
||||
#include "static_assert.h"
|
||||
|
||||
#if defined(HAVE_X86INTRIN_H)
|
||||
#if defined(__x86_64__) && defined(HAVE_X86INTRIN_H)
|
||||
# include <x86intrin.h> /* for _lzcnt_u64 */
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1310
|
||||
# include <intrin.h> /* for the following intrinsics */
|
||||
|
|
Loading…
Reference in a new issue