mirror of
https://github.com/AdaCore/spawn.git
synced 2026-02-12 13:09:41 -08:00
Wrap external parameter OS with SPAWN_OS, as OS can clash with other projects
This commit is contained in:
@@ -9,7 +9,7 @@ with "../config/spawn_config.gpr";
|
||||
library project Spawn is
|
||||
|
||||
type OS_API_Kind is ("unix", "osx", "Windows_NT");
|
||||
OS_API : OS_API_Kind := external ("OS", "unix");
|
||||
OS_API : OS_API_Kind := external ("SPAWN_OS", external ("OS", "unix"));
|
||||
|
||||
type Library_Kind is ("static", "static-pic", "relocatable");
|
||||
Library_Type : Library_Kind :=
|
||||
|
||||
@@ -10,7 +10,7 @@ with "../config/spawn_config.gpr";
|
||||
library project Spawn_Glib is
|
||||
|
||||
type OS_API_Kind is ("unix", "osx", "Windows_NT");
|
||||
OS_API : OS_API_Kind := external ("OS", "unix");
|
||||
OS_API : OS_API_Kind := external ("SPAWN_OS", external ("OS", "unix"));
|
||||
|
||||
type Library_Kind is ("static", "static-pic", "relocatable");
|
||||
Library_Type : Library_Kind :=
|
||||
|
||||
Reference in New Issue
Block a user