aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UMain.pas
diff options
context:
space:
mode:
authoreddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-11-03 09:33:35 +0000
committereddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-11-03 09:33:35 +0000
commitd29ff5bed651115af3c63b6fe4768690fb46a916 (patch)
tree27dce0917f0d46689245ee0487b0c32f50e825ae /Game/Code/Classes/UMain.pas
parent84a799853df75973fe4560576d9257f20b5bef85 (diff)
downloadusdx-d29ff5bed651115af3c63b6fe4768690fb46a916.tar.gz
usdx-d29ff5bed651115af3c63b6fe4768690fb46a916.tar.xz
usdx-d29ff5bed651115af3c63b6fe4768690fb46a916.zip
Mac OS X: Added unit cthreads. USDX now runs on OS X! But you can't do anything :-) Fonts are not working, but you can quit the program cleanly by pressing ESC and ENTER (MainLoop works).
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@565 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/UMain.pas')
-rw-r--r--Game/Code/Classes/UMain.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas
index 1be4b463..48928cbd 100644
--- a/Game/Code/Classes/UMain.pas
+++ b/Game/Code/Classes/UMain.pas
@@ -12,6 +12,9 @@ uses
{$IFDEF MSWINDOWS}
Windows,
{$ENDIF}
+ {$IFDEF DARWIN} // needed for initialization of cthreads
+ cthreads,
+ {$ENDIF}
SDL,
UGraphic,
UMusic,