summaryrefslogtreecommitdiff
path: root/src/utils/type.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-26 01:21:12 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-26 01:21:12 +0330
commit85bfc724dd2bdaa2259512c1b8ab21f7dfeca8f1 (patch)
tree0b9075ba9bf70aca9cdf36e5d909b161460b19a8 /src/utils/type.h
parent6edcfb23ffd49e937395b710f7c6213b2c0d93cf (diff)
clean up
Diffstat (limited to 'src/utils/type.h')
-rw-r--r--src/utils/type.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/utils/type.h b/src/utils/type.h
index 4c61bc3..3a0e59e 100644
--- a/src/utils/type.h
+++ b/src/utils/type.h
@@ -1,20 +1,18 @@
#pragma once
-#include <stdint.h>
-
#ifdef __FLT16_MIN__
#define FLOAT_16_SUPPORT
#endif
-typedef int8_t i8;
-typedef int16_t i16;
-typedef int32_t i32;
-typedef int64_t i64;
+typedef char i8;
+typedef short i16;
+typedef int i32;
+typedef long long i64;
-typedef uint8_t u8;
-typedef uint16_t u16;
-typedef uint32_t u32;
-typedef uint64_t u64;
+typedef unsigned char u8;
+typedef unsigned short u16;
+typedef unsigned int u32;
+typedef unsigned long long u64;
#ifdef FLOAT_16_SUPPORT
typedef _Float16 f16;