Skip to content

Commit ef98846

Browse files
authored
DSP_INIT can be called from multiple threads (#46)
1 parent 0a0c9f9 commit ef98846

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎build.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ fn setup_build(build: &mut cc::Build, include_dir: &PathBuf) {
9393
build.include(include_dir);
9494
build.define("NDEBUG", Some("1"));
9595
build.define("_THREAD_SAFE", Some("1"));
96+
build.define("WEBP_USE_THREAD", Some("1"));
9697
if !build.get_compiler().is_like_msvc() {
9798
build.flag("-fvisibility=hidden").flag("-Wall");
9899
} else {

0 commit comments

Comments
 (0)