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:
patacongo
2009-12-14 13:48:27 +00:00
parent c5efa5bc52
commit 005ed42a22
11 changed files with 36 additions and 24 deletions
+3 -2
View File
@@ -76,7 +76,8 @@
/* A pointer is 2 bytes */
#define PTR_MIN 0x0000
#define PTR_MAX 0xffff
#define PTR_MIN 0x8000
#define PTR_MAX 0x7fff
#define UPTR_MAX 0xffff
#endif /* __ARCH_SH_INCLUDE_M16C_LIMITS_H */
+3 -2
View File
@@ -76,7 +76,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_SH_INCLUDE_SH1_LIMITS_H */