aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-05-07 12:24:18 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-05-07 12:24:18 +0000
commit31bf7b9f1d51339a1a1a0a093c0e6da2052384a3 (patch)
treeb892b69003062d7eddb539eca215de70004e7c8d /Game
parent63f159d8dbb99d2c59e3f26ef767b89959a98008 (diff)
downloadusdx-31bf7b9f1d51339a1a1a0a093c0e6da2052384a3.tar.gz
usdx-31bf7b9f1d51339a1a1a0a093c0e6da2052384a3.tar.xz
usdx-31bf7b9f1d51339a1a1a0a093c0e6da2052384a3.zip
SDL-patches for MacOSX build added. Taken from the freepascal repository.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1065 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas4
-rw-r--r--Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas2
2 files changed, 6 insertions, 0 deletions
diff --git a/Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas b/Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas
index 2eede417..0402107e 100644
--- a/Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas
+++ b/Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas
@@ -369,6 +369,10 @@ const
{$IFDEF UNIX}
{$IFDEF DARWIN}
SDLLibName = 'libSDL-1.2.0.dylib';
+ {$linklib libSDL-1.2.0}
+ {$linklib SDLmain}
+ {$linkframework Cocoa}
+ {$PASCALMAINNAME SDL_main}
{$ELSE}
{$IFDEF FPC}
SDLLibName = 'libSDL.so';
diff --git a/Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas b/Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas
index 704ad3cb..7fbed878 100644
--- a/Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas
+++ b/Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas
@@ -132,8 +132,10 @@ interface
uses
{$IFDEF UNIX}
Types,
+{$IFNDEF DARWIN}
Xlib,
{$ENDIF}
+{$ENDIF}
SysUtils,
sdl;