mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
arch/sim/include/limits.h: Fix the type of LONG_MIN, LONG_MAX, ULONG_MAX
This commit is contained in:
committed by
Xiang Xiao
parent
e65d5d8c73
commit
51be5c08bf
@@ -74,9 +74,9 @@
|
||||
# define LONG_MAX 2147483647L
|
||||
# define ULONG_MAX 4294967295UL
|
||||
#else
|
||||
# define LONG_MIN (-LLONG_MAX - 1)
|
||||
# define LONG_MAX 9223372036854775807LL
|
||||
# define ULONG_MAX 18446744073709551615ULL
|
||||
# define LONG_MIN (-LONG_MAX - 1)
|
||||
# define LONG_MAX 9223372036854775807L
|
||||
# define ULONG_MAX 18446744073709551615UL
|
||||
#endif
|
||||
|
||||
#define LLONG_MIN (-LLONG_MAX - 1)
|
||||
|
||||
Reference in New Issue
Block a user