mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-18 18:30:59 +00:00
CONFIGURE: Fix formatting.
Thanks to Max for pointing out.
This commit is contained in:
parent
1432011fdc
commit
3606ebed6a
28
configure
vendored
28
configure
vendored
@ -1709,27 +1709,27 @@ EOF
|
||||
# Check whether the system is 32-bit
|
||||
#
|
||||
pointer_is_32bit() {
|
||||
cat > tmp_pointer_is_32bit.cpp << EOF
|
||||
cat > tmp_pointer_is_32bit.cpp << EOF
|
||||
int main() {
|
||||
static int test_array[1 - 2 * !(sizeof(void *) == 4)];
|
||||
static int test_array[1 - 2 * !(sizeof(void *) == 4)];
|
||||
}
|
||||
EOF
|
||||
$CXX $CXXFLAGS -c -o $TMPO.o tmp_pointer_is_32bit.cpp 2>/dev/null
|
||||
status=$?
|
||||
cc_check_clean tmp_pointer_is_32bit.cpp
|
||||
return $status
|
||||
$CXX $CXXFLAGS -c -o $TMPO.o tmp_pointer_is_32bit.cpp 2>/dev/null
|
||||
status=$?
|
||||
cc_check_clean tmp_pointer_is_32bit.cpp
|
||||
return $status
|
||||
}
|
||||
|
||||
echo_n "Checking 64-bitness... "
|
||||
pointer_is_32bit
|
||||
if test $? -eq 0; then
|
||||
type_ptr=int32
|
||||
echo "no"
|
||||
add_line_to_config_h "/* #define SCUMM_64BITS */"
|
||||
type_ptr=int32
|
||||
echo "no"
|
||||
add_line_to_config_h "/* #define SCUMM_64BITS */"
|
||||
else
|
||||
type_ptr=int64
|
||||
echo "yes"
|
||||
add_line_to_config_h "#define SCUMM_64BITS"
|
||||
type_ptr=int64
|
||||
echo "yes"
|
||||
add_line_to_config_h "#define SCUMM_64BITS"
|
||||
fi
|
||||
|
||||
#
|
||||
@ -1758,8 +1758,8 @@ type_8_byte=`find_type_with_size 8`
|
||||
TMPR="$?"
|
||||
echo "$type_8_byte"
|
||||
if test $TMPR -eq 0; then
|
||||
_def_64bit_type_signed="typedef signed $type_8_byte int64;"
|
||||
_def_64bit_type_unsigned="typedef unsigned $type_8_byte uint64;"
|
||||
_def_64bit_type_signed="typedef signed $type_8_byte int64;"
|
||||
_def_64bit_type_unsigned="typedef unsigned $type_8_byte uint64;"
|
||||
fi
|
||||
# force cleanup after check for 8 bytes type
|
||||
cc_check_clean tmp_find_type_with_size.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user