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

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



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

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
xen-unstable changeset:   19843:d5c97cd22d6f
xen-unstable date:        Thu Jun 25 14:30:00 2009 +0100
---
 extras/mini-os/include/posix/limits.h |    2 ++
 1 files changed, 2 insertions(+)

diff -r b2c6d69df5a6 -r af6903ce5a87 extras/mini-os/include/posix/limits.h
--- a/extras/mini-os/include/posix/limits.h     Mon Jun 29 11:11:21 2009 +0100
+++ b/extras/mini-os/include/posix/limits.h     Mon Jun 29 11:11:49 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®.