mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
arm64 : fix intptr_t size
This commit is contained in:
+10
-2
@@ -39,6 +39,14 @@ typedef unsigned short ushort;
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned long ulong;
|
||||
|
||||
#ifdef PLATFORM_64BITS
|
||||
typedef long long intp;
|
||||
typedef unsigned long long uintp;
|
||||
#else
|
||||
typedef int intp;
|
||||
typedef unsigned int uintp;
|
||||
#endif
|
||||
|
||||
#ifndef _WCHAR_T_DEFINED
|
||||
// DAL - wchar_t is a built in define in gcc 3.2 with a size of 4 bytes
|
||||
#if !defined( __x86_64__ ) && !defined( __WCHAR_TYPE__ )
|
||||
@@ -54,7 +62,7 @@ namespace vgui
|
||||
{
|
||||
// handle to an internal vgui panel
|
||||
// this is the only handle to a panel that is valid across dll boundaries
|
||||
typedef unsigned int VPANEL;
|
||||
typedef uintp VPANEL;
|
||||
|
||||
// handles to vgui objects
|
||||
// NULL values signify an invalid value
|
||||
@@ -63,7 +71,7 @@ typedef unsigned long HScheme;
|
||||
typedef unsigned long HTexture;
|
||||
typedef unsigned long HCursor;
|
||||
typedef unsigned long HPanel;
|
||||
const HPanel INVALID_PANEL = 0xffffffff;
|
||||
const HPanel INVALID_PANEL = (HPanel)-1;
|
||||
typedef unsigned long HFont;
|
||||
const HFont INVALID_FONT = 0; // the value of an invalid font handle
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user