Skip to content

Commit 9f1b6ea

Browse files
authored
Add INT16_MAX to macro clashes (#883)
1 parent 30db721 commit 9f1b6ea

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

other/tests/header_macro_clashes/check.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
#ifdef INT_MIN
7474
#error "INT_MIN is defined"
7575
#endif
76+
#ifdef INT16_MAX
77+
#error "INT16_MAX is defined"
78+
#endif
7679
#ifdef BIG_ENDIAN
7780
#error "BIG_ENDIAN is defined"
7881
#endif

src/hlc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#undef __SIGN
3838
#undef INT_MAX
3939
#undef INT_MIN
40+
#undef INT16_MAX
4041
#undef BIG_ENDIAN
4142
#undef LITTLE_ENDIAN
4243
#undef OVERFLOW

0 commit comments

Comments
 (0)