diff options
author | Eugene Sandulenko | 2012-01-08 22:41:52 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2012-01-08 22:41:52 +0000 |
commit | fed0ef350d51d16566137ec975c7bfcbbccecaae (patch) | |
tree | 7d704309520358409b39be37d0efdb5b4d050f20 /configure | |
parent | 00242281006dd26204a3b438f1ecb38928bfb75f (diff) | |
download | scummvm-rg350-fed0ef350d51d16566137ec975c7bfcbbccecaae.tar.gz scummvm-rg350-fed0ef350d51d16566137ec975c7bfcbbccecaae.tar.bz2 scummvm-rg350-fed0ef350d51d16566137ec975c7bfcbbccecaae.zip |
CONFIGURE: Better test for 32-bitness courtsey of LordHoto
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |