Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-05-29 14:05:56 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-05-29 14:05:56 +0400
commitf330e7b8e845f29e901b97eb887d9486815a32ea (patch)
treeadad256f6085618723f46b6cf6665d8bd11da485 /winsup
parent65a7ca7b7b59302ee06374681bdf907c8bad8f72 (diff)
* include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Always define.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/limits.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index c5159ef37..7225d1520 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-29 Eric Blake <ebb9@byu.net>
+
+ * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Always define.
+
2005-05-28 Christopher Faylor <cgf@timesys.com>
* thread.h (pthread_key::set): Inline.
diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h
index f74297654..01e6db7b7 100644
--- a/winsup/cygwin/include/limits.h
+++ b/winsup/cygwin/include/limits.h
@@ -107,7 +107,6 @@ details. */
#define ULONG_LONG_MAX (LONG_LONG_MAX * 2ULL + 1)
#endif
-#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* Minimum and maximum values a `signed long long int' can hold. */
#undef LLONG_MIN
#define LLONG_MIN (-LLONG_MAX-1)
@@ -117,7 +116,6 @@ details. */
/* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */
#undef ULLONG_MAX
#define ULLONG_MAX (LLONG_MAX * 2ULL + 1)
-#endif
/* Maximum number of iovcnt in a writev (an arbitrary number) */
#undef IOV_MAX