Skip to content

Commit

Permalink
fix build failure of Intel Compiler Classic
Browse files Browse the repository at this point in the history
Intel Compiler Classic itself doesn't have x86gprintrin.h
and it seems incompatible with GCC's x86gprintrin.h
  • Loading branch information
tetsuh authored and odygrd committed Jul 23, 2023
1 parent 47a7472 commit 8df8f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quill/include/quill/detail/misc/Rdtsc.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// assume x86-64 ..
#if defined(_WIN32)
#include <intrin.h>
#elif (defined(__GNUC__) && __GNUC__ > 10) || (defined(__clang_major__) && __clang_major__ > 11)
#elif ((defined(__GNUC__) && __GNUC__ > 10) && !defined(__INTEL_COMPILER)) || (defined(__clang_major__) && __clang_major__ > 11)
#include <x86gprintrin.h>
#else
// older compiler versions do not have <x86gprintrin.h>
Expand Down

0 comments on commit 8df8f2e

Please sign in to comment.