mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: use XASH_OSX macro
This commit is contained in:
2
3rdparty/library_suffix
vendored
2
3rdparty/library_suffix
vendored
Submodule 3rdparty/library_suffix updated: a35ac9c12e...e9fc14307b
@@ -543,7 +543,7 @@ static bloomfilter_t ID_GenerateRawId( void )
|
|||||||
count += ID_ProcessCPUInfo( &value );
|
count += ID_ProcessCPUInfo( &value );
|
||||||
count += ID_ProcessFiles( &value, "/sys/block", "device/cid" );
|
count += ID_ProcessFiles( &value, "/sys/block", "device/cid" );
|
||||||
#endif
|
#endif
|
||||||
#if XASH_APPLE && !XASH_IOS
|
#if XASH_OSX
|
||||||
char buf[64];
|
char buf[64];
|
||||||
|
|
||||||
if( Apple_GetSerialNumber( buf, sizeof( buf )))
|
if( Apple_GetSerialNumber( buf, sizeof( buf )))
|
||||||
@@ -606,7 +606,7 @@ static uint ID_CheckRawId( bloomfilter_t filter )
|
|||||||
count += (filter & value) == value;
|
count += (filter & value) == value;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if XASH_APPLE && !XASH_IOS
|
#if XASH_OSX
|
||||||
char buf[64];
|
char buf[64];
|
||||||
|
|
||||||
if( Apple_GetSerialNumber( buf, sizeof( buf )))
|
if( Apple_GetSerialNumber( buf, sizeof( buf )))
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ char *Posix_Input( void );
|
|||||||
int Posix_GetNetDeviceAddresses( uint64_t *addresses, int max );
|
int Posix_GetNetDeviceAddresses( uint64_t *addresses, int max );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if XASH_APPLE && !XASH_IOS
|
#if XASH_OSX
|
||||||
qboolean Apple_GetSerialNumber( char *out, size_t size );
|
qboolean Apple_GetSerialNumber( char *out, size_t size );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user