diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2024-06-11 19:46:13 +0300 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2024-06-24 20:23:32 +0300 |
commit | 0d748eec8d52715f2949bd03519d39f2bf5baac4 (patch) | |
tree | 4eb1325766615379c0e857b42285e59445a18cf4 /configure | |
parent | c3814d54098a3148486819834edbef4adbfd0426 (diff) | |
download | ffmpeg-0d748eec8d52715f2949bd03519d39f2bf5baac4.tar.gz |
configure: detect 64-bit generic platforms
Currently, any unrecognised platform is treated as 32-bit. This should
detect *most* 64-bit platforms, namely LP64 and LLP64 ones.
Unfortunately this will not work for ILP32 ABIs on 64-bit ISAs, but
still better than nothing.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5564,6 +5564,12 @@ elif enabled x86; then ;; esac +else + + if test_cpp_condition inttypes.h "UINTPTR_MAX >= UINT64_MAX"; then + enable fast_64bit + fi + fi if [ "$cpu" != generic ]; then |