We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b4cb6 commit 13a4feaCopy full SHA for 13a4fea
winbuild/build_prepare.py
@@ -323,6 +323,11 @@ def cmd_msbuild(
323
"filename": "openjpeg-2.5.0.tar.gz",
324
"dir": "openjpeg-2.5.0",
325
"license": "LICENSE",
326
+ "patch": {
327
+ r"src\lib\openjp2\ht_dec.c": {
328
+ "#ifdef OPJ_COMPILER_MSVC\n return (OPJ_UINT32)__popcnt(val);": "#if defined(OPJ_COMPILER_MSVC) && (defined(_M_IX86) || defined(_M_AMD64))\n return (OPJ_UINT32)__popcnt(val);", # noqa: E501
329
+ }
330
+ },
331
"build": [
332
cmd_cmake(("-DBUILD_CODEC:BOOL=OFF", "-DBUILD_SHARED_LIBS:BOOL=OFF")),
333
cmd_nmake(target="clean"),
0 commit comments