diff options
author | Luke Dunstan <infidel@users.sourceforge.net> | 2004-06-01 14:09:20 +0000 |
---|---|---|
committer | Luke Dunstan <infidel@users.sourceforge.net> | 2004-06-01 14:09:20 +0000 |
commit | cdb055db024e12c06a7f3eff2480b38b1cac2c14 (patch) | |
tree | 2f8cbc602e0b7138a9891629d9b044d14b78137a /winsup/mingw | |
parent | a07c3e299c0846e43a69283ca88284adab11cc41 (diff) | |
download | newlib-cdb055db024e12c06a7f3eff2480b38b1cac2c14.zip newlib-cdb055db024e12c06a7f3eff2480b38b1cac2c14.tar.gz newlib-cdb055db024e12c06a7f3eff2480b38b1cac2c14.tar.bz2 |
2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
Diffstat (limited to 'winsup/mingw')
-rw-r--r-- | winsup/mingw/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/mingw/include/limits.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 1947c37..51d6373 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 a1901fc..e86f12b 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 */ |