meson: Fix build error with MSVC caused by ARCH_X86_64 define
authorSeungha Yang <seungha@centricular.com>
Fri, 19 Jun 2020 10:54:08 +0000 (19:54 +0900)
committerSeungha Yang <seungha@centricular.com>
Fri, 19 Jun 2020 10:54:08 +0000 (19:54 +0900)
ARCH_X86_64 define will enable GCC specific code path in dv_types.h
while building dv plugin.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/636>

meson.build

index 7bb0645..74d3f05 100644 (file)
@@ -418,7 +418,6 @@ if find_program('xgettext', required : get_option('nls')).found()
   subdir('po')
 endif
 
-cdata.set10('ARCH_X86_64', host_cpu == 'x86_64')
 configure_file(output : 'config.h', configuration : cdata)
 
 run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')