diff --git a/3rdparty/library_suffix b/3rdparty/library_suffix index a35ac9c1..e9fc1430 160000 --- a/3rdparty/library_suffix +++ b/3rdparty/library_suffix @@ -1 +1 @@ -Subproject commit a35ac9c12ee31bb84c13dc1d633cca72d0b3264c +Subproject commit e9fc14307ba248de00ea9748be524562f421ea93 diff --git a/engine/client/identification.c b/engine/client/identification.c index 44a8dfed..dd28842e 100644 --- a/engine/client/identification.c +++ b/engine/client/identification.c @@ -543,7 +543,7 @@ static bloomfilter_t ID_GenerateRawId( void ) count += ID_ProcessCPUInfo( &value ); count += ID_ProcessFiles( &value, "/sys/block", "device/cid" ); #endif -#if XASH_APPLE && !XASH_IOS +#if XASH_OSX char buf[64]; if( Apple_GetSerialNumber( buf, sizeof( buf ))) @@ -606,7 +606,7 @@ static uint ID_CheckRawId( bloomfilter_t filter ) count += (filter & value) == value; #endif -#if XASH_APPLE && !XASH_IOS +#if XASH_OSX char buf[64]; if( Apple_GetSerialNumber( buf, sizeof( buf ))) diff --git a/engine/platform/platform.h b/engine/platform/platform.h index 369bc5e5..0e8aeab2 100644 --- a/engine/platform/platform.h +++ b/engine/platform/platform.h @@ -73,7 +73,7 @@ char *Posix_Input( void ); int Posix_GetNetDeviceAddresses( uint64_t *addresses, int max ); #endif -#if XASH_APPLE && !XASH_IOS +#if XASH_OSX qboolean Apple_GetSerialNumber( char *out, size_t size ); #endif