From f7bce206db9ea00906dc5ba5d0a20d6fbce0ef82 Mon Sep 17 00:00:00 2001 From: tobigun Date: Wed, 27 Aug 2008 10:38:20 +0000 Subject: - spelling corrected FFMpeg -> FFmpeg - the WIN32 define is not used anymore with MacOSX -> comment in switches.inc removed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1298 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/switches.inc | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'Game/Code/switches.inc') diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc index bb9a50fe..eb67e72c 100644 --- a/Game/Code/switches.inc +++ b/Game/Code/switches.inc @@ -1,11 +1,3 @@ -// Comment by eddie: -// The mac port currently also uses the WIN32 define. -// Once I get the beast compiled, linked and running -// I will change this. -// There are some parts where the WIN32 define could not -// be used. I changed the WIN32 to MSWINDOWS. -// So, for Windows-only code use the MSWINDOWS define. - // compiler/IDE dependent config {$IFDEF FPC} {$H+} // use AnsiString instead of ShortString as String-type (default in Delphi) @@ -86,10 +78,10 @@ {$IFEND} // ffmpeg config -{$IFDEF HaveFFMpeg} - {$DEFINE UseFFMpegDecoder} - {$DEFINE UseFFMpegResample} - {$DEFINE UseFFMpegVideo} +{$IFDEF HaveFFmpeg} + {$DEFINE UseFFmpegDecoder} + {$DEFINE UseFFmpegResample} + {$DEFINE UseFFmpegVideo} {$IFDEF HaveSWScale} {$DEFINE UseSWScale} {$ENDIF} @@ -106,8 +98,8 @@ // specify some useful defines -{$IF Defined(UseFFMpegVideo) or Defined(UseFFMpegDecoder)} - {$DEFINE UseFFMpeg} +{$IF Defined(UseFFmpegVideo) or Defined(UseFFmpegDecoder)} + {$DEFINE UseFFmpeg} {$IFEND} {$IF Defined(UseBASSInput) or Defined(UseBASSPlayback) or Defined(UseBASSDecoder)} -- cgit v1.2.3