diff options
author | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-24 08:25:32 +0000 |
---|---|---|
committer | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-24 08:25:32 +0000 |
commit | 27b7ee9941234aacc46d7bbc8aaa049e2ed81ce7 (patch) | |
tree | a6c4d6f7f7a9ff3ba085dc3f92271e3bb3a3870a /Game/Code/Classes/UTexture.pas | |
parent | e7a448866f6cddfb742617ff166f7bec7d95f3f5 (diff) | |
download | usdx-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.pas | 4 |
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 |