From dd5cac5ed94150eb608e4aa351441cf8d74eeb93 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 17 Mar 2004 19:07:37 +0000 Subject: [PATCH] Define HAVE_INT64_AND_I64 also in the mingw (gcc on Win32) case, where the 2004-03-16 Tor Lillqvist * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc on Win32) case, where the 64-bit type is called long long, but the system printf/scanf format modifier for 64-bit integers is still I64. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ configure.in | 5 ++++- 7 files changed, 40 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index aebaf579..beeb31f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-03-16 Tor Lillqvist + + * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc + on Win32) case, where the 64-bit type is called long long, but the + system printf/scanf format modifier for 64-bit integers is still I64. + 2004-03-16 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index aebaf579..beeb31f8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2004-03-16 Tor Lillqvist + + * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc + on Win32) case, where the 64-bit type is called long long, but the + system printf/scanf format modifier for 64-bit integers is still I64. + 2004-03-16 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index aebaf579..beeb31f8 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2004-03-16 Tor Lillqvist + + * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc + on Win32) case, where the 64-bit type is called long long, but the + system printf/scanf format modifier for 64-bit integers is still I64. + 2004-03-16 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index aebaf579..beeb31f8 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2004-03-16 Tor Lillqvist + + * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc + on Win32) case, where the 64-bit type is called long long, but the + system printf/scanf format modifier for 64-bit integers is still I64. + 2004-03-16 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index aebaf579..beeb31f8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2004-03-16 Tor Lillqvist + + * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc + on Win32) case, where the 64-bit type is called long long, but the + system printf/scanf format modifier for 64-bit integers is still I64. + 2004-03-16 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index aebaf579..beeb31f8 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2004-03-16 Tor Lillqvist + + * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc + on Win32) case, where the 64-bit type is called long long, but the + system printf/scanf format modifier for 64-bit integers is still I64. + 2004-03-16 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS diff --git a/configure.in b/configure.in index 1ba44d1c..bc2c056b 100644 --- a/configure.in +++ b/configure.in @@ -529,6 +529,9 @@ if test x$ac_cv_sizeof_long_long = x8; then if test -n "$glib_cv_long_long_format"; then AC_MSG_RESULT(%${glib_cv_long_long_format}u) AC_DEFINE(HAVE_LONG_LONG_FORMAT,1,[define if system printf can print long long]) + if test x"$glib_cv_long_long_format" = xI64; then + AC_DEFINE(HAVE_INT64_AND_I64,1,[define to support printing 64-bit integers with format I64]) + fi else AC_MSG_RESULT(none) fi @@ -539,7 +542,7 @@ elif test x$ac_cv_sizeof___int64 = x8; then glib_cv_long_long_format=I64 AC_MSG_RESULT(%${glib_cv_long_long_format}u) AC_DEFINE(HAVE_LONG_LONG_FORMAT,1,[define if system printf can print long long]) - AC_DEFINE(HAVE_INT64_AND_I64,1,[define to support printing __int64 with format I64]) + AC_DEFINE(HAVE_INT64_AND_I64,1,[define to support printing 64-bit integers with format I64]) fi dnl long doubles were not used, and a portability problem -- 2.34.1