Define HAVE_INT64_AND_I64 also in the mingw (gcc on Win32) case, where the
authorTor Lillqvist <tml@iki.fi>
Wed, 17 Mar 2004 19:07:37 +0000 (19:07 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 17 Mar 2004 19:07:37 +0000 (19:07 +0000)
2004-03-16  Tor Lillqvist  <tml@iki.fi>

* 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
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in

index aebaf57..beeb31f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-03-16  Tor Lillqvist  <tml@iki.fi>
+
+       * 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  <gowen72@yahoo.com>
 
        * configure.in: Added en_GB to ALL_LINGUAS
index aebaf57..beeb31f 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-16  Tor Lillqvist  <tml@iki.fi>
+
+       * 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  <gowen72@yahoo.com>
 
        * configure.in: Added en_GB to ALL_LINGUAS
index aebaf57..beeb31f 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-16  Tor Lillqvist  <tml@iki.fi>
+
+       * 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  <gowen72@yahoo.com>
 
        * configure.in: Added en_GB to ALL_LINGUAS
index aebaf57..beeb31f 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-16  Tor Lillqvist  <tml@iki.fi>
+
+       * 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  <gowen72@yahoo.com>
 
        * configure.in: Added en_GB to ALL_LINGUAS
index aebaf57..beeb31f 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-16  Tor Lillqvist  <tml@iki.fi>
+
+       * 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  <gowen72@yahoo.com>
 
        * configure.in: Added en_GB to ALL_LINGUAS
index aebaf57..beeb31f 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-16  Tor Lillqvist  <tml@iki.fi>
+
+       * 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  <gowen72@yahoo.com>
 
        * configure.in: Added en_GB to ALL_LINGUAS
index 1ba44d1..bc2c056 100644 (file)
@@ -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