Skip to content

Commit af404e3

Browse files
committed
fix building xrCore on Linux. __rdtsc is in <x86intrin.h>
1 parent 042581d commit af404e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/xrCore/_math.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <process.h>
77
#include <powerbase.h>
88
#elif defined(LINUX)
9+
#include <x86intrin.h> // __rdtsc
910
#include <fpu_control.h>
1011
#include <pthread.h>
1112
#endif

0 commit comments

Comments
 (0)