[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] add few missing constants in limits.h



Hi all,
this patch adds two constants missing from limits.h.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

---

diff -r cbe6eaa7b7c3 extras/mini-os/include/posix/limits.h
--- a/extras/mini-os/include/posix/limits.h     Tue Jun 23 17:17:13 2009 +0100
+++ b/extras/mini-os/include/posix/limits.h     Wed Jun 24 19:26:10 2009 +0100
@@ -21,7 +21,9 @@
 #define INT_MIN         (-INT_MAX-1)
 #define UINT_MAX        0xffffffff
 
+#define SHRT_MIN       (-0x8000)
 #define SHRT_MAX        0x7fff
+#define USHRT_MAX       0xffff
 
 #if defined(__x86_64__) || defined(__ia64__)
 # define LONG_MAX       0x7fffffffffffffffL


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.