diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-04-30 12:14:30 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-04-30 12:14:30 +0300 |
commit | ba366b6db5009dccdedafdff86cffaa3285e1800 (patch) | |
tree | bebc4cdc4582dba90bfcc6b2a5ec6013c41585ef | |
parent | 6eee2678174c757f405972cfedc804401cc59605 (diff) | |
download | emacs-ba366b6db5009dccdedafdff86cffaa3285e1800.tar.gz |
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.
-rw-r--r-- | nt/ChangeLog | 5 | ||||
-rw-r--r-- | nt/config.nt | 10 |
2 files changed, 15 insertions, 0 deletions
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 <eliz@gnu.org> + + * 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 <eliz@gnu.org> * 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 |