mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Need limits of signed and unsigned pointer-sized integers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2334 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -74,7 +74,8 @@
|
||||
|
||||
/* A pointer is 4 bytes */
|
||||
|
||||
#define PTR_MIN 0x00000000
|
||||
#define PTR_MAX 0xffffffff
|
||||
#define PTR_MIN 0x80000000
|
||||
#define PTR_MAX 0x7fffffff
|
||||
#define UPTR_MAX 0xffffffff
|
||||
|
||||
#endif /* __ARCH_SIM_INCLUDE_LIMITS_H */
|
||||
|
||||
Reference in New Issue
Block a user