aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-01-10 16:11:10 +0100
committerJohannes Schickel2012-01-10 16:13:29 +0100
commitc74fde632fa3ecd2d4fb238878191da270b96e1e (patch)
tree231f0153d4aa698c11beab69036658ecc2478cc5
parenta3e06d507449f1b736c19cbd46662383f59e75df (diff)
downloadscummvm-rg350-c74fde632fa3ecd2d4fb238878191da270b96e1e.tar.gz
scummvm-rg350-c74fde632fa3ecd2d4fb238878191da270b96e1e.tar.bz2
scummvm-rg350-c74fde632fa3ecd2d4fb238878191da270b96e1e.zip
CONFIGURE: Also check "long long" in find_type_with_size.
This is because on Win64 "long" is 4 bytes and only "long long" is 8 bytes. Without this check we would not have a 64 bit integer type on Win64.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5194680fcb..5b0e857fae 100755
--- a/configure
+++ b/configure
@@ -1682,7 +1682,7 @@ esac
# Determine a data type with the given length
#
find_type_with_size() {
- for datatype in int short char long unknown; do
+ for datatype in int short char long "long long" unknown; do
cat > tmp_find_type_with_size.cpp << EOF
typedef $datatype ac__type_sizeof_;
int main() {