From cdb055db024e12c06a7f3eff2480b38b1cac2c14 Mon Sep 17 00:00:00 2001 From: Luke Dunstan Date: Tue, 1 Jun 2004 14:09:20 +0000 Subject: [PATCH] 2004-04-24 Luke Dunstan * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines. --- winsup/mingw/ChangeLog | 4 ++++ winsup/mingw/include/limits.h | 5 +++++ 2 files changed, 9 insertions(+) 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 + + * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines. + 2004-04-22 Earnie Boyd * 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 */