ia64/xen-unstable

changeset 19843:d5c97cd22d6f

minios: add few missing constants in limits.h

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 14:30:00 2009 +0100 (2009-06-25)
parents 04476e5ef35d
children aad8bb7f5e10
files extras/mini-os/include/posix/limits.h
line diff
     1.1 --- a/extras/mini-os/include/posix/limits.h	Thu Jun 25 13:51:40 2009 +0100
     1.2 +++ b/extras/mini-os/include/posix/limits.h	Thu Jun 25 14:30:00 2009 +0100
     1.3 @@ -21,7 +21,9 @@
     1.4  #define INT_MIN         (-INT_MAX-1)
     1.5  #define UINT_MAX        0xffffffff
     1.6  
     1.7 +#define SHRT_MIN	(-0x8000)
     1.8  #define SHRT_MAX        0x7fff
     1.9 +#define USHRT_MAX       0xffff
    1.10  
    1.11  #if defined(__x86_64__) || defined(__ia64__)
    1.12  # define LONG_MAX       0x7fffffffffffffffL