Skip to content

Commit

Permalink
Include <x86intrin.h> only if __x86_64__ (#184)
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm authored Jul 14, 2021
1 parent d5996c2 commit eabc884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Imath/half.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
/// floats in question.
///

#if defined(__has_include)
#if defined(__has_include) && defined(__x86_64__)
# if __has_include(<x86intrin.h>)
# include <x86intrin.h>
# elif __has_include(<intrin.h>)
Expand Down

0 comments on commit eabc884

Please sign in to comment.