From 9f7e5169849a35f40dca70cd22fc0ede8cd030c6 Mon Sep 17 00:00:00 2001 From: anschrammh Date: Wed, 5 Apr 2023 08:19:08 +0200 Subject: [PATCH] Added the uint64_t type as a typedef. Will have to do some cleanup in file as it is a mess... --- src/W800_SDK_v1.00.10/include/wm_type_def.h | 29 +++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/src/W800_SDK_v1.00.10/include/wm_type_def.h b/src/W800_SDK_v1.00.10/include/wm_type_def.h index eddb91c..2701a34 100644 --- a/src/W800_SDK_v1.00.10/include/wm_type_def.h +++ b/src/W800_SDK_v1.00.10/include/wm_type_def.h @@ -77,11 +77,36 @@ typedef int int32_t; typedef unsigned int uint32_t; #endif +#ifdef int64 +#undef int64 +#endif +typedef long long int64; + +#ifdef int64_t +#undef int64_t +#endif +typedef long long int64_t; + +#ifdef uint64 +#undef uint64 +#endif +typedef unsigned long long uint64; + +#ifdef uint64_t +#undef uint64_t +#endif +typedef unsigned long long uint64_t; + #ifdef int32 #undef int32 #endif typedef int int32; +#ifdef int32_t +#undef int32_t +#endif +typedef int int32_t; + #ifdef uint32 #undef uint32 #endif @@ -95,12 +120,12 @@ typedef unsigned int uint32_t; #ifdef int16 #undef int16 #endif -typedef short int16; +typedef short int16; #ifdef uint16 #undef uint16 #endif -typedef unsigned short uint16; +typedef unsigned short uint16; #ifdef ULONG #undef ULONG