aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-05-16 22:08:32 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-05-16 22:08:32 +0000
commitb8c0db6ee146baecc38892452d56cd6b04587e3e (patch)
treec631de5cc838f97d3509cc6cb4b5b5a3cc80e178
parent5e3abe97990f43283b83c80af108da06e009d1f1 (diff)
downloadusdx-b8c0db6ee146baecc38892452d56cd6b04587e3e.tar.gz
usdx-b8c0db6ee146baecc38892452d56cd6b04587e3e.tar.xz
usdx-b8c0db6ee146baecc38892452d56cd6b04587e3e.zip
Change IFDEF LINUX to UNIX in order to include darwin
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1101 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--Game/Code/Classes/UCommon.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/Game/Code/Classes/UCommon.pas b/Game/Code/Classes/UCommon.pas
index 94f43d06..0c8bf0df 100644
--- a/Game/Code/Classes/UCommon.pas
+++ b/Game/Code/Classes/UCommon.pas
@@ -308,13 +308,13 @@ begin
end;
-{$IFDEF Linux}
+{$IFDEF Unix}
// include resource-file info (stored in the constant array "resources")
{$I ../resource.inc}
{$ENDIF}
function GetResourceStream(const aName, aType: string): TStream;
-{$IFDEF Linux}
+{$IFDEF Unix}
var
ResIndex: integer;
Filename: string;
@@ -322,7 +322,7 @@ var
begin
Result := nil;
- {$IFDEF Linux}
+ {$IFDEF Unix}
for ResIndex := 0 to High(resources) do
begin
if (resources[ResIndex][0] = aName ) and