aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 4f0cf9545a..5194680fcb 100755
--- a/configure
+++ b/configure
@@ -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