From ba366b6db5009dccdedafdff86cffaa3285e1800 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 30 Apr 2011 12:14:30 +0300 Subject: [PATCH] Define HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT for Windows. nt/config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT): Define to 1 for MinGW of MSVC versions >= 1400. --- nt/ChangeLog | 5 +++++ nt/config.nt | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/nt/ChangeLog b/nt/ChangeLog index ea4f7547962..660140f66cf 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,8 @@ +2011-04-30 Eli Zaretskii + + * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT): + Define to 1 for MinGW of MSVC versions >= 1400. + 2011-04-28 Eli Zaretskii * gmake.defs (ARCH): Fix error message in case of unknown diff --git a/nt/config.nt b/nt/config.nt index a159234be7d..285f3944dd8 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -470,6 +470,16 @@ extern char *getenv (); #define BITS_PER_LONG 32 #endif +#if defined(__MINGW32__) || _MSC_VER >= 1400 + +/* Define to 1 if the system has the type `long long int'. */ +# define HAVE_LONG_LONG_INT 1 + +/* Define to 1 if the system has the type `unsigned long long int'. */ +# define HAVE_UNSIGNED_LONG_LONG_INT 1 + +#endif /* __MINGW32__ || _MSC_VER >= 1400 */ + #ifndef POINTER_TYPE #define POINTER_TYPE void #endif -- 2.39.5