aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UTexture.pas
diff options
context:
space:
mode:
authoreddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-24 08:25:32 +0000
committereddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-24 08:25:32 +0000
commit27b7ee9941234aacc46d7bbc8aaa049e2ed81ce7 (patch)
treea6c4d6f7f7a9ff3ba085dc3f92271e3bb3a3870a /Game/Code/Classes/UTexture.pas
parente7a448866f6cddfb742617ff166f7bec7d95f3f5 (diff)
downloadusdx-27b7ee9941234aacc46d7bbc8aaa049e2ed81ce7.tar.gz
usdx-27b7ee9941234aacc46d7bbc8aaa049e2ed81ce7.tar.xz
usdx-27b7ee9941234aacc46d7bbc8aaa049e2ed81ce7.zip
Fixed compilation on Mac OS X (XCode).
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@885 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/UTexture.pas')
-rw-r--r--Game/Code/Classes/UTexture.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Classes/UTexture.pas b/Game/Code/Classes/UTexture.pas
index ca576df4..02fb8e52 100644
--- a/Game/Code/Classes/UTexture.pas
+++ b/Game/Code/Classes/UTexture.pas
@@ -131,7 +131,7 @@ implementation
uses ULog,
DateUtils,
UCovers,
- {$ifdef FPC}
+ {$ifdef LINUX}
fileutil,
{$endif}
{$IFDEF LAZARUS}
@@ -251,7 +251,7 @@ function TTextureUnit.LoadImage(Identifier: PChar): PSDL_Surface;
function FileExistsInsensative( var aFileName : PChar ): boolean;
begin
-{$IFDEF fpc}
+{$IFDEF LINUX} // eddie: Changed FPC to LINUX: Windows and Mac OS X dont have case sensitive file systems
result := true;
if FileExists( aFileName ) then