From: Eli Zaretskii Date: Sat, 30 Apr 2011 09:14:30 +0000 (+0300) Subject: Define HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT for Windows. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~167 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba366b6db5009dccdedafdff86cffaa3285e1800;p=emacs.git 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. --- 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