[Scummvm-cvs-logs] scummvm master -> fed0ef350d51d16566137ec975c7bfcbbccecaae

sev- sev at scummvm.org
Sun Jan 8 23:42:47 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:
fed0ef350d CONFIGURE: Better test for 32-bitness courtsey of LordHoto


Commit: fed0ef350d51d16566137ec975c7bfcbbccecaae
    https://github.com/scummvm/scummvm/commit/fed0ef350d51d16566137ec975c7bfcbbccecaae
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2012-01-08T14:41:52-08:00

Commit Message:
CONFIGURE: Better test for 32-bitness courtsey of LordHoto

Changed paths:
    configure



diff --git a/configure b/configure
index 1be4284..c10e10a 100755
--- a/configure
+++ b/configure
@@ -1711,9 +1711,7 @@ EOF
 pointer_is_32bit() {
         cat > tmp_pointer_is_32bit.cpp << EOF
 int main() {
-        void *p;
-        int v = (int)p;
-        return 0;
+        static int test_array[1 - 2 * !(sizeof(void *) == 4)];
 }
 EOF
         $CXX $CXXFLAGS -c -o $TMPO.o tmp_pointer_is_32bit.cpp 2>/dev/null






More information about the Scummvm-git-logs mailing list