mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Restore Windows constexpr mutex define on wpiutil (#7515)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user