All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add few missing constants in limits.h
@ 2009-06-25 13:09 Stefano Stabellini
  0 siblings, 0 replies; only message in thread
From: Stefano Stabellini @ 2009-06-25 13:09 UTC (permalink / raw)
  To: xen-devel

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

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

---

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-25 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 13:09 [PATCH] add few missing constants in limits.h Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.