diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-04-04 07:37:53 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-04-04 07:37:53 +0000 |
commit | 26631d2144fcc57286421c1bba8fde1935603dd1 (patch) | |
tree | caaa1eef9bc741ee86f41f270377d9e7be4bfcda | |
parent | 27f9e911554128185dc5fa41b489a1f32335612f (diff) | |
download | newlib-26631d2144fcc57286421c1bba8fde1935603dd1.zip newlib-26631d2144fcc57286421c1bba8fde1935603dd1.tar.gz newlib-26631d2144fcc57286421c1bba8fde1935603dd1.tar.bz2 |
* include/stdint.h (WINT_MIN, WINT_MAX): Fix definition.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/stdint.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 2b8553b..cfd9c27 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2007-04-04 Eric Blake <ebb9@byu.net> + + * include/stdint.h (WINT_MIN, WINT_MAX): Fix definition. + 2007-03-30 Christopher Faylor <me@cgf.cx> * external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING. diff --git a/winsup/cygwin/include/stdint.h b/winsup/cygwin/include/stdint.h index 8b040c3..6c85bd2 100644 --- a/winsup/cygwin/include/stdint.h +++ b/winsup/cygwin/include/stdint.h @@ -1,6 +1,6 @@ /* stdint.h - integer types - Copyright 2003, 2006 Red Hat, Inc. + Copyright 2003, 2006, 2007 Red Hat, Inc. This file is part of Cygwin. @@ -158,8 +158,8 @@ typedef unsigned long long uintmax_t; #endif #ifndef WINT_MIN -#define WINT_MIN (-2147483647 - 1) -#define WINT_MAX (2147483647) +#define WINT_MIN 0 +#define WINT_MAX UINT_MAX #endif /* Macros for minimum-width integer constant expressions */ |