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

[Xen-changelog] [xen-unstable] minios: add few missing constants in limits.h



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245936600 -3600
# Node ID d5c97cd22d6f4b8e9caecf85fb7f6f8b30de1c8b
# Parent  04476e5ef35d35587b5b843f37652dc1b9de3c06
minios: add few missing constants in limits.h

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
 extras/mini-os/include/posix/limits.h |    2 ++
 1 files changed, 2 insertions(+)

diff -r 04476e5ef35d -r d5c97cd22d6f extras/mini-os/include/posix/limits.h
--- a/extras/mini-os/include/posix/limits.h     Thu Jun 25 13:51:40 2009 +0100
+++ b/extras/mini-os/include/posix/limits.h     Thu Jun 25 14:30:00 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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