From 27b7ee9941234aacc46d7bbc8aaa049e2ed81ce7 Mon Sep 17 00:00:00 2001 From: eddie-0815 Date: Sun, 24 Feb 2008 08:25:32 +0000 Subject: 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 --- Game/Code/Classes/UTexture.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Game/Code/Classes') 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 -- cgit v1.2.3