diff options
author | Johannes Schickel | 2012-01-10 15:38:42 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-01-10 16:13:29 +0100 |
commit | a3e06d507449f1b736c19cbd46662383f59e75df (patch) | |
tree | e9b1a56dc43b79d37f0e7130738487f462ef0a4c /configure | |
parent | 3606ebed6abbfc79f0cc5373aae80bd78667f876 (diff) | |
download | scummvm-rg350-a3e06d507449f1b736c19cbd46662383f59e75df.tar.gz scummvm-rg350-a3e06d507449f1b736c19cbd46662383f59e75df.tar.bz2 scummvm-rg350-a3e06d507449f1b736c19cbd46662383f59e75df.zip |
CONFIGURE: Make 32bit pointer check a bit safer.
This adapts the check to be similar to the find_type_with_size check, i.e. it
assigns a value to test_array and also returns 0. Should not be required, at
least builtbot went fine, but better be safe and sorry.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1712,6 +1712,8 @@ pointer_is_32bit() { cat > tmp_pointer_is_32bit.cpp << EOF int main() { static int test_array[1 - 2 * !(sizeof(void *) == 4)]; + test_array[0] = 0; + return 0; } EOF $CXX $CXXFLAGS -c -o $TMPO.o tmp_pointer_is_32bit.cpp 2>/dev/null |