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
diff options
context:
space:
mode:
authorLuke Dunstan <infidel@users.sourceforge.net>2004-06-01 18:09:20 +0400
committerLuke Dunstan <infidel@users.sourceforge.net>2004-06-01 18:09:20 +0400
commitcdb055db024e12c06a7f3eff2480b38b1cac2c14 (patch)
tree2f8cbc602e0b7138a9891629d9b044d14b78137a
parenta07c3e299c0846e43a69283ca88284adab11cc41 (diff)
2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/limits.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 1947c375a..51d637362 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
+
+ * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
+
2004-04-22 Earnie Boyd <earnie@users.sf.net>
* DISCLAIMER: Add words about "free to use".
diff --git a/winsup/mingw/include/limits.h b/winsup/mingw/include/limits.h
index a1901fc9d..e86f12b20 100644
--- a/winsup/mingw/include/limits.h
+++ b/winsup/mingw/include/limits.h
@@ -109,6 +109,11 @@
#define LLONG_MIN LONG_LONG_MIN
#define ULLONG_MAX ULONG_LONG_MAX
+/* MSVC compatibility */
+#define _I64_MIN LONG_LONG_MIN
+#define _I64_MAX LONG_LONG_MAX
+#define _UI64_MAX ULONG_LONG_MAX
+
#endif /* Not Strict ANSI and GNU C compiler */