build-sys: meson: Add a check for fast 64-bit operations

This commit is contained in:
Arun Raghavan 2019-08-15 15:30:00 +05:30
parent c90fa7f857
commit cd8dfee947

View File

@ -167,6 +167,10 @@ elif host_machine.system() == 'windows'
# cdata.set('__EXTENSIONS__', 1)
endif
if host_machine.cpu_family() == 'x86_64' or cc.sizeof('void *') >= 8
cdata.set('HAVE_FAST_64BIT_OPERATIONS', 1)
endif
# Headers
check_headers = [