Skip to content

Commit 1987417

Browse files
committed
project: improve consistency of os-libc_constants variants
1 parent e5136ca commit 1987417

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

gnatcoll.gpr

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,11 @@ project GnatColl is
252252
end case;
253253

254254
case OS is
255-
when "unix" =>
256-
for Specification ("GNATCOLL.OS.Libc_Constants")
257-
use "gnatcoll-os-libc_constants__linux.ads";
258-
when "osx" =>
255+
when "unix" | "osx" =>
259256
for Specification ("GNATCOLL.OS.Libc_Constants")
260-
use "gnatcoll-os-libc_constants__osx.ads";
257+
use "gnatcoll-os-libc_constants__" & OS & ".ads";
258+
when "windows" =>
259+
null;
261260
end case;
262261
end Naming;
263262

0 commit comments

Comments
 (0)