Skip to content

Commit 5a02f44

Browse files
committed
[DONT MERGE] test without any platform polyfill macros
1 parent 73817ec commit 5a02f44

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

build.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,8 @@ fn build_zlib(cfg: &mut cc::Build, target: &str) {
135135

136136
if !target.contains("windows") {
137137
cfg.define("_LARGEFILE64_SOURCE", None);
138-
cfg.define("_POSIX_C_SOURCE", "200112L");
139138
cfg.flag("-fvisibility=hidden");
140139
}
141-
if target.contains("apple") {
142-
cfg.define("_C99_SOURCE", None);
143-
}
144-
if target.contains("solaris") {
145-
cfg.define("_XOPEN_SOURCE", "700");
146-
}
147140

148141
cfg.compile("z");
149142

0 commit comments

Comments
 (0)