Use the platform independent version of ReadTSC

- If I use the gnu inline version, the game runs way too fast on my cpu due to
  frequency scaling (I think).
This commit is contained in:
Joshua Scoggins 2016-04-20 19:06:02 -07:00
parent 1b873d3ab4
commit dbd896b58d

View File

@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <Engine/Base/Priority.inl> #include <Engine/Base/Priority.inl>
// !!! FIXME: use SDL timer code instead and rdtsc never? // !!! FIXME: use SDL timer code instead and rdtsc never?
#if (USE_PORTABLE_C) #if (USE_PORTABLE_C) || PLATFORM_UNIX
#define USE_GETTIMEOFDAY 1 #define USE_GETTIMEOFDAY 1
#endif #endif