OSDN Git Service

* include/stdint.h (WINT_MIN, WINT_MAX): Fix definition.
authorcorinna <corinna>
Wed, 4 Apr 2007 07:37:53 +0000 (07:37 +0000)
committercorinna <corinna>
Wed, 4 Apr 2007 07:37:53 +0000 (07:37 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/include/stdint.h

index 2b8553b..cfd9c27 100644 (file)
@@ -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.
index 8b040c3..6c85bd2 100644 (file)
@@ -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 */