mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
arm64 : fix intptr_t size
This commit is contained in:
@@ -754,12 +754,20 @@ BASEPTR CBaseEntity::ThinkSet( BASEPTR func, float thinkTime, const char *szCont
|
||||
{
|
||||
#if !defined( CLIENT_DLL )
|
||||
#ifdef _DEBUG
|
||||
#ifdef PLATFORM_64BITS
|
||||
#ifdef GNUC
|
||||
COMPILE_TIME_ASSERT( sizeof(func) == 16 );
|
||||
#else
|
||||
COMPILE_TIME_ASSERT( sizeof(func) == 8 );
|
||||
#endif
|
||||
#else
|
||||
#ifdef GNUC
|
||||
COMPILE_TIME_ASSERT( sizeof(func) == 8 );
|
||||
#else
|
||||
COMPILE_TIME_ASSERT( sizeof(func) == 4 );
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Old system?
|
||||
|
||||
Reference in New Issue
Block a user