From 1ec9781ec1f72d9b739266bcd12e08de1c2805a4 Mon Sep 17 00:00:00 2001 From: Alpyne Date: Fri, 30 Oct 2020 19:15:23 -0700 Subject: [PATCH] Common int types without _t, and byte type It's my code I do what I want --- src/Common.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Common.h b/src/Common.h index 9563a0a..cd4fd2a 100644 --- a/src/Common.h +++ b/src/Common.h @@ -1,5 +1,20 @@ #pragma once +typedef unsigned int uint; + +#include + +typedef int8_t int8; +typedef int16_t int16; +typedef int32_t int32; +typedef int64_t int64; +typedef uint8_t uint8; +typedef uint16_t uint16; +typedef uint32_t uint32; +typedef uint64_t uint64; + +typedef uint8 byte; + #include "util/Math.h" #include "logging/Logger.h"