Skip to content

Commit c56c77a

Browse files
committed
project: improve consistency of os-libc_constants variants
1 parent 5e612e4 commit c56c77a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

gnatcoll.gpr

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,9 @@ project GnatColl is
289289
end case;
290290

291291
case OS is
292-
when "unix" =>
293-
for Specification ("GNATCOLL.OS.Libc_Constants")
294-
use "gnatcoll-os-libc_constants__linux.ads";
295-
when "osx" =>
292+
when "unix" | "osx" =>
296293
for Specification ("GNATCOLL.OS.Libc_Constants")
297-
use "gnatcoll-os-libc_constants__osx.ads";
294+
use "gnatcoll-os-libc_constants__" & OS & ".ads";
298295
when "windows" =>
299296
null;
300297
end case;

0 commit comments

Comments
 (0)