Skip to content

Commit 0e8be5c

Browse files
committed
project: improve consistency of os-libc_constants variants
1 parent 7693898 commit 0e8be5c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

gnatcoll.gpr

+2-5
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,9 @@ project GnatColl is
256256
end case;
257257

258258
case OS is
259-
when "unix" =>
260-
for Specification ("GNATCOLL.OS.Libc_Constants")
261-
use "gnatcoll-os-libc_constants__linux.ads";
262-
when "osx" =>
259+
when "unix" | "osx" =>
263260
for Specification ("GNATCOLL.OS.Libc_Constants")
264-
use "gnatcoll-os-libc_constants__osx.ads";
261+
use "gnatcoll-os-libc_constants__" & OS & ".ads";
265262
when "windows" =>
266263
null;
267264
end case;

0 commit comments

Comments
 (0)