Skip to content

Commit

Permalink
... also __INT16 and __INT8
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v committed May 12, 2021
1 parent 0ef5489 commit 66355f6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions glue/glue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <inttypes.h>
#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

0 comments on commit 66355f6

Please sign in to comment.