From b5c0f5c47e580bdf71a839ac5d78f18dd9892c97 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 1 Aug 2018 14:51:01 +0100 Subject: [PATCH] #6380 Reintroduce type size defines for non-Windows --- src/lib/common/basic_types.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/common/basic_types.h b/src/lib/common/basic_types.h index 8498ef23..b29d825b 100644 --- a/src/lib/common/basic_types.h +++ b/src/lib/common/basic_types.h @@ -25,6 +25,11 @@ # define TYPE_OF_SIZE_1 __int8 # define TYPE_OF_SIZE_2 __int16 # define TYPE_OF_SIZE_4 __int32 +#else +# define SIZE_OF_CHAR 1 +# define SIZE_OF_SHORT 2 +# define SIZE_OF_INT 4 +# define SIZE_OF_LONG 4 #endif //