Skip to content

Commit

Permalink
[build] Restore Windows constexpr mutex define on wpiutil (#7515)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse authored Dec 8, 2024
1 parent e222efa commit 9a1b424
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wpiutil/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ nativeUtils.exportsConfigs {
}
}

nativeUtils.platformConfigs.each {
if (it.name.contains('windows')) {
it.cppCompiler.args.add("/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
}
}

cppHeadersZip {
def thirdpartyIncDirs = [
'src/main/native/thirdparty/argparse/include',
Expand Down

0 comments on commit 9a1b424

Please sign in to comment.