mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-08 16:03:13 +01:00
Changed all '#if linux || __APPLE__' to '#if POSIX' so we can support other platforms too, thanx for the suggestion anders.
This commit is contained in:
@@ -15,6 +15,12 @@ if OS ~= "windows" then
|
||||
end
|
||||
end
|
||||
|
||||
-- are we on a Posix system?
|
||||
POSIX = 1
|
||||
if OS == "windows" then
|
||||
POSIX = 0
|
||||
end
|
||||
|
||||
-- D version - don't change these !!!
|
||||
DMDV1 = "1"
|
||||
|
||||
@@ -58,6 +64,7 @@ package.defines = {
|
||||
"OPAQUE_VTBLS="..OPAQUE_VTBLS,
|
||||
"USE_BOEHM_GC="..USE_BOEHM_GC,
|
||||
"DMDV1="..DMDV1,
|
||||
"POSIX="..POSIX,
|
||||
}
|
||||
package.config.Release.defines = { "LLVMD_NO_LOGGER" }
|
||||
package.config.Debug.buildoptions = { "-g -O0" }
|
||||
|
||||
Reference in New Issue
Block a user