32-bit MSVC build attempts to link with _BitScanReverse64
Attempting to compile a Win32 solution generated with Meson for the vs2017
backend results in the following build output:
1>------ Skipped Build: Project: RUN_TESTS, Configuration: debug Win32 ------
1>Project not selected to build for this solution configuration
2>------ Skipped Build: Project: RUN_INSTALL, Configuration: debug Win32 ------
2>Project not selected to build for this solution configuration
3>------ Build started: Project: dav1d, Configuration: debug Win32 ------
3> Creating library dav1d.lib and object dav1d.exp
3>warpmv.c.obj : error LNK2019: unresolved external symbol __BitScanReverse64 referenced in function _clzll
3>.\dav1d.dll : fatal error LNK1120: 1 unresolved externals
3>Done building project "src@@dav1d@sha.vcxproj" -- FAILED.
4>------ Build started: Project: checkasm, Configuration: debug Win32 ------
4> Creating library .\checkasm.lib and object .\checkasm.exp
4>warpmv.c.obj : error LNK2019: unresolved external symbol __BitScanReverse64 referenced in function _clzll
4>.\checkasm.exe : fatal error LNK1120: 1 unresolved externals
4>Done building project "tests@@checkasm@exe.vcxproj" -- FAILED.
========== Build: 0 succeeded, 2 failed, 9 up-to-date, 2 skipped ==========
Edited by Raphaël Zumer