Skip to content

Commit

Permalink
project: improve consistency of os-libc_constants variants
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Apr 21, 2022
1 parent 7693898 commit 0e8be5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions gnatcoll.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,9 @@ project GnatColl is
end case;

case OS is
when "unix" =>
for Specification ("GNATCOLL.OS.Libc_Constants")
use "gnatcoll-os-libc_constants__linux.ads";
when "osx" =>
when "unix" | "osx" =>
for Specification ("GNATCOLL.OS.Libc_Constants")
use "gnatcoll-os-libc_constants__osx.ads";
use "gnatcoll-os-libc_constants__" & OS & ".ads";
when "windows" =>
null;
end case;
Expand Down

0 comments on commit 0e8be5c

Please sign in to comment.