From f8fd654157d05eabb485e4c98f40e3ec3540ed01 Mon Sep 17 00:00:00 2001 From: Ruben Dashyan Date: Tue, 16 Jul 2019 11:40:28 +0200 Subject: [PATCH] [liba/stdint] Define int16_t limits --- liba/include/stdint.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/liba/include/stdint.h b/liba/include/stdint.h index f6b17c207..ef904e710 100644 --- a/liba/include/stdint.h +++ b/liba/include/stdint.h @@ -26,6 +26,9 @@ typedef int64_t int_fast64_t; typedef uint8_t uint_least8_t; +#define INT16_MAX 0x7fff +#define INT16_MIN (-INT16_MAX-1) + #define UINT64_C(c) c ## ULL #define INT64_C(c) c ## LL