mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
aarch64: fix android build
This commit is contained in:
@@ -13,7 +13,7 @@ bool CheckMMXTechnology(void) { return false; }
|
||||
bool CheckSSETechnology(void) { return false; }
|
||||
bool CheckSSE2Technology(void) { return false; }
|
||||
bool Check3DNowTechnology(void) { return false; }
|
||||
#elif defined (__arm__) || defined (__arm64__)
|
||||
#elif defined (__arm__) || defined (__aarch64__)
|
||||
bool CheckMMXTechnology(void) { return false; }
|
||||
bool CheckSSETechnology(void) { return false; }
|
||||
bool CheckSSE2Technology(void) { return false; }
|
||||
|
||||
@@ -87,7 +87,7 @@ int64 CReliableTimer::GetPerformanceCountNow()
|
||||
uint64 ulNow;
|
||||
SYS_TIMEBASE_GET( ulNow );
|
||||
return ulNow;
|
||||
#elif (defined( __arm__ ) || defined( __arm64__ )) && defined (POSIX)
|
||||
#elif (defined( __arm__ ) || defined( __aarch64__ )) && defined (POSIX)
|
||||
struct timespec ts;
|
||||
clock_gettime(CLOCK_REALTIME, &ts);
|
||||
return ts.tv_sec * 1000000000ULL + ts.tv_nsec;
|
||||
|
||||
+6
-2
@@ -47,7 +47,6 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef POSIX
|
||||
#include <iconv.h>
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
@@ -79,7 +78,12 @@
|
||||
#include "xbox/xbox_win32stubs.h"
|
||||
#endif
|
||||
#include "tier0/memdbgon.h"
|
||||
#include "iconv.h"
|
||||
|
||||
#ifdef ANDROID
|
||||
#include "common/iconv.h"
|
||||
#elif POSIX
|
||||
#include <iconv.h>
|
||||
#endif
|
||||
|
||||
static int FastToLower( char c )
|
||||
{
|
||||
|
||||
@@ -66,6 +66,7 @@ def build(bld):
|
||||
|
||||
includes = [
|
||||
'.',
|
||||
'../',
|
||||
'../public',
|
||||
'../public/tier1',
|
||||
'../public/tier0',
|
||||
|
||||
Reference in New Issue
Block a user