mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 06:07:57 +03:00
Compilation fixes for ARM
This commit is contained in:
parent
e54f4a65f9
commit
d3870ccf45
8 changed files with 47 additions and 22 deletions
|
@ -29,9 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
#include "cl_ui.h"
|
||||
|
||||
#if _MSC_VER
|
||||
#include <intrin.h>
|
||||
#endif
|
||||
#include <ctime>
|
||||
|
||||
typedef struct {
|
||||
float fadetime;
|
||||
|
@ -5443,7 +5441,7 @@ UI_BeginLoadResource
|
|||
====================
|
||||
*/
|
||||
void UI_BeginLoadResource( void ) {
|
||||
uint64_t time = __rdtsc();
|
||||
clock_t time = clock();
|
||||
|
||||
startCountHigh = time >> 32;
|
||||
startCountLow = time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue