summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index ae3d81ae2..0025bf596 100644
--- a/meson.build
+++ b/meson.build
@@ -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 = [