Skip to content

Commit 613d653

Browse files
authored
Use Solaris build flags for illumos targets (#535)
1 parent 6f14f0f commit 613d653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libgit2-sys/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fn main() {
9393
add_c_files(&mut cfg, "libgit2/src/unix");
9494
cfg.flag("-fvisibility=hidden");
9595
}
96-
if target.contains("solaris") {
96+
if target.contains("solaris") || target.contains("illumos") {
9797
cfg.define("_POSIX_C_SOURCE", "200112L");
9898
cfg.define("__EXTENSIONS__", None);
9999
}

0 commit comments

Comments
 (0)