Skip to content

Commit ca38ad4

Browse files
committed
build: enable C11 mode for the package
This package uses `_Atomic` which is a C11 feature. Enable this explicitly in the package manifest rather than relying on the compiler to default to this language mode.
1 parent 35f2434 commit ca38ad4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ let package = Package(
2727
.when(platforms: [.linux, .macOS])),
2828
.define("MDB_USE_ROBUST", to: "0"),
2929
]),
30-
]
30+
],
31+
cLanguageStandard: .c11
3132
)

0 commit comments

Comments
 (0)