[Scummvm-cvs-logs] scummvm master -> c5b5f8844ced4e143c0090009ad72aa9b40fb7bc
criezy
criezy at scummvm.org
Fri Jan 27 23:17:56 CET 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c5b5f8844c CONFIGURE: Fix compilation on 32 bits MacOS X
Commit: c5b5f8844ced4e143c0090009ad72aa9b40fb7bc
https://github.com/scummvm/scummvm/commit/c5b5f8844ced4e143c0090009ad72aa9b40fb7bc
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2012-01-27T14:09:53-08:00
Commit Message:
CONFIGURE: Fix compilation on 32 bits MacOS X
The issue was that it cannot find a 64 bits type because 'long int' is
32 bits and compilation of the test program with 'long long' failed
due to the use of -pedantic flag (and 'long long' is not part of
ISO C++ 1998 standard). It nevertheless defined _UINT64
which subsequently told systems headers to not redefine uint64 and
caused many compilation error in system headers.
Changed paths:
configure
diff --git a/configure b/configure
index 423e55f..ab8259d 100755
--- a/configure
+++ b/configure
@@ -3893,6 +3893,10 @@ typedef unsigned $type_4_byte uint32;
typedef signed $type_1_byte int8;
typedef signed $type_2_byte int16;
typedef signed $type_4_byte int32;
+EOF
+
+if test -n "$_def_64bit_type_unsigned" ; then
+cat >> config.h << EOF
/* 64-bit stuff */
$_def_64bit_type_signed
@@ -3904,6 +3908,10 @@ $_def_64bit_type_unsigned
#else
$_def_64bit_type_unsigned
#endif
+EOF
+fi
+
+cat >> config.h << EOF
#endif /* CONFIG_H */
EOF
More information about the Scummvm-git-logs
mailing list