Skip to content

Commit a54defd

Browse files
committed
Try to enable atomics differently
1 parent ccab5b0 commit a54defd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lmdb-master-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ fn main() {
137137
// Enable atomics on Windows
138138
.flag_if_supported("/std:c11")
139139
// Explicitly enable C11 atomics support
140-
.define("_ENABLE_C11_ATOMICS", "1");
140+
.flag_if_supported("/experimental:c11atomics");
141141

142142
if cfg!(feature = "posix-sem") {
143143
builder.define("MDB_USE_POSIX_SEM", None);

0 commit comments

Comments
 (0)