Skip to content

Commit

Permalink
fix building xrCore on Linux. __rdtsc is in <x86intrin.h>
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed May 28, 2018
1 parent 042581d commit af404e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xrCore/_math.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <process.h>
#include <powerbase.h>
#elif defined(LINUX)
#include <x86intrin.h> // __rdtsc
#include <fpu_control.h>
#include <pthread.h>
#endif
Expand Down

0 comments on commit af404e3

Please sign in to comment.