From e62be3b12d3c94d709a77d89f52c31f7c4ac475d Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 4 Dec 2021 22:22:47 -0800 Subject: Initial commit. --- desktop/types.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 desktop/types.h (limited to 'desktop/types.h') diff --git a/desktop/types.h b/desktop/types.h new file mode 100755 index 0000000..da462d4 --- /dev/null +++ b/desktop/types.h @@ -0,0 +1,27 @@ +#pragma once + +#include + +/* +File: Types +*/ + +#if defined(__GNUC__) || defined(__GNUG__) //Compiling with GNU C/C++ compiler + typedef __INT8_TYPE__ I8; + typedef __INT16_TYPE__ I16; + typedef __INT32_TYPE__ I32; + typedef __INT64_TYPE__ I64; + typedef __UINT8_TYPE__ U8; + typedef __UINT16_TYPE__ U16; + typedef __UINT32_TYPE__ U32; + typedef __UINT64_TYPE__ U64; +#else //Visual Studio + typedef __int8 I8; + typedef __int16 I16; + typedef __int32 I32; + typedef __int64 I64; + typedef unsigned __int8 U8; + typedef unsigned __int16 U16; + typedef unsigned __int32 U32; + typedef unsigned __int64 U64; +#endif -- cgit v1.2.3