From 66355f6958cee3ba4461fda50b56f426789120e1 Mon Sep 17 00:00:00 2001 From: david gauchard Date: Wed, 12 May 2021 10:21:07 +0200 Subject: [PATCH] ... also __INT16 and __INT8 --- glue/glue.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/glue/glue.h b/glue/glue.h index e58440d1..453a3830 100644 --- a/glue/glue.h +++ b/glue/glue.h @@ -124,12 +124,14 @@ err_glue_t glue2esp_linkoutput (int netif_idx, void* ref2save, void* data, size // gcc-4.x: __PRI32(x) is __STRINGIFY(l##x) // gcc-10.2.0: __PRI32(x) is __INT32 __STRINGIFY(x) #include +#if !defined(__INT8) +#define __INT8 +#endif +#if !defined(__INT16) +#define __INT16 +#endif #if !defined(__INT32) -#if __have_long32 -#define __INT32 l -#else -#define __INT32 +#define __INT32 "l" #endif -#endif // !defined(__INT32) #endif // GLUE_H