diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /common/steamtypes.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'common/steamtypes.h')
| -rw-r--r-- | common/steamtypes.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/common/steamtypes.h b/common/steamtypes.h new file mode 100644 index 0000000..501850c --- /dev/null +++ b/common/steamtypes.h @@ -0,0 +1,46 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//============================================================================= + +#ifndef STEAMTYPES_H +#define STEAMTYPES_H +#ifdef _WIN32 +#pragma once +#endif + +// Steam-specific types. Defined here so this header file can be included in other code bases. +#ifndef WCHARTYPES_H +typedef unsigned char uint8; +#endif +#ifndef uint16 +typedef unsigned short uint16; +#endif +#ifndef int32 +typedef signed long int32; +#endif +#ifndef uint32 +typedef unsigned long uint32; +#endif +#ifndef int64 +#ifdef _WIN32 +typedef __int64 int64; +#elif _LINUX +typedef long long int64; +#endif +#endif +#ifndef uint64 +#ifdef _WIN32 +typedef unsigned __int64 uint64; +#elif _LINUX +typedef unsigned long long uint64; +#endif +#endif + +#ifndef NETADR_H +class netadr_t; +#endif + +#endif // STEAMTYPES_H |