aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-27 01:37:00 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-27 01:37:00 +0000
commit64f2c9b369185575d397dccbbcacc7f818874952 (patch)
treeafd00bb8d69de1ccf5e919d5df31ae416c8b7bb3 /Game/Code
parent17d2f56fb988150dafcb6fab9dff45cc484e5b0a (diff)
downloadusdx-64f2c9b369185575d397dccbbcacc7f818874952.tar.gz
usdx-64f2c9b369185575d397dccbbcacc7f818874952.tar.xz
usdx-64f2c9b369185575d397dccbbcacc7f818874952.zip
fixed my oops, and have also fixed bamboo build to show this error.. doh
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@532 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code')
-rw-r--r--Game/Code/Classes/USongs.pas10
1 files changed, 7 insertions, 3 deletions
diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas
index b45e7c2a..99474961 100644
--- a/Game/Code/Classes/USongs.pas
+++ b/Game/Code/Classes/USongs.pas
@@ -8,7 +8,9 @@ interface
uses SysUtils,
+ {$ifndef win32}
oldlinux,
+ {$endif}
ULog,
UTexture,
UCatCovers;
@@ -134,10 +136,12 @@ var
SR: TSearchRec; // for parsing Songs Directory
SLen: integer;
- TheDir : pdir;
- ADirent :pDirent;
- Entry : Longint;
+ {$ifndef win32}
+ TheDir : pdir;
+ ADirent :pDirent;
+ Entry : Longint;
info : stat;
+ {$endif}
begin
{$ifdef win32}
if FindFirst(Dir + '*', faDirectory, SR) = 0 then // JB_Unicode - windows