We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb64485 commit c4947bbCopy full SHA for c4947bb
libc-test/build.rs
@@ -22,9 +22,11 @@ fn main() {
22
let bsdlike = freebsd || apple || netbsd || openbsd || dragonfly;
23
let mut cfg = ctest::TestGenerator::new();
24
25
- // Pull in extra goodies on linux/mingw
+ // Pull in extra goodies
26
if linux || android {
27
cfg.define("_GNU_SOURCE", None);
28
+ } else if netbsd {
29
+ cfg.define("_NETBSD_SOURCE", Some("1"));
30
} else if windows {
31
cfg.define("_WIN32_WINNT", Some("0x8000"));
32
}
0 commit comments