Fix typo in limits.h

This commit is contained in:
mintsuki 2024-09-02 12:13:30 +02:00
parent dd3abd2d71
commit 4b8b780075

View File

@ -58,7 +58,7 @@
#define SHRT_MIN (-SHRT_MAX - 1) #define SHRT_MIN (-SHRT_MAX - 1)
#undef USHRT_MAX #undef USHRT_MAX
#if __SHRT_MAX_ == __INT_MAX__ #if __SHRT_MAX__ == __INT_MAX__
# define USHRT_MAX (SHRT_MAX * 2U + 1U) # define USHRT_MAX (SHRT_MAX * 2U + 1U)
#else #else
# define USHRT_MAX (SHRT_MAX * 2 + 1) # define USHRT_MAX (SHRT_MAX * 2 + 1)