WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] add few missing constants in limits.h
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 25 Jun 2009 14:09:11 +0100
Delivery-date: Thu, 25 Jun 2009 06:04:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] add few missing constants in limits.h, Stefano Stabellini <=