From f7e0b1331c75e76e1088b3b3c9b9d4b4c1630db7 Mon Sep 17 00:00:00 2001 From: Marko Mikulicic <mkm@cesanta.com> Date: Sun, 13 Sep 2015 15:57:59 +0100 Subject: [PATCH] Implement incremental UBJSON serializer PUBLISHED_FROM=fe0936cbf8c16d5b5cfdf674e8e7181f6b2771cc --- mongoose.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mongoose.h b/mongoose.h index d157d0f30..b57075160 100644 --- a/mongoose.h +++ b/mongoose.h @@ -139,11 +139,14 @@ #endif #define random() rand() typedef int socklen_t; +typedef char int8_t; typedef unsigned char uint8_t; +typedef int int32_t; typedef unsigned int uint32_t; +typedef short int16_t; typedef unsigned short uint16_t; -typedef unsigned __int64 uint64_t; typedef __int64 int64_t; +typedef unsigned __int64 uint64_t; typedef SOCKET sock_t; typedef uint32_t in_addr_t; #ifndef UINT16_MAX -- GitLab