Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try MINGW_HAS_SECURE_API again
  • Loading branch information
abrown committed Apr 14, 2022
commit a81f7882688632ccb690ecc3eed973c1c7fc3f1e
2 changes: 1 addition & 1 deletion rust/ittapi-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn main() {
// For `x86_64-pc-windows-gnu` targets (i.e., MinGW builds), the `strnlen_s` function may not
// always be available.
if let Ok("x86_64-pc-windows-gnu") = std::env::var("TARGET").as_deref() {
build.define("SDL_STRNLEN_S", None);
build.define("MINGW_HAS_SECURE_API", "1");
}

build.compile("ittnotify");
Expand Down