aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UAudio_FFMpeg.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Classes/UAudio_FFMpeg.pas')
-rw-r--r--Game/Code/Classes/UAudio_FFMpeg.pas8
1 files changed, 3 insertions, 5 deletions
diff --git a/Game/Code/Classes/UAudio_FFMpeg.pas b/Game/Code/Classes/UAudio_FFMpeg.pas
index 35822a3b..675dfd3c 100644
--- a/Game/Code/Classes/UAudio_FFMpeg.pas
+++ b/Game/Code/Classes/UAudio_FFMpeg.pas
@@ -13,9 +13,7 @@ This unit is primarily based upon -
interface
-{$IFDEF FPC}
- {$MODE Delphi}
-{$ENDIF}
+{$I switches.inc}
uses Classes,
@@ -67,7 +65,7 @@ type
implementation
uses
- {$IFDEF FPC}
+ {$IFDEF LAZARUS}
lclintf,
libc,
{$ENDIF}
@@ -590,7 +588,7 @@ begin
len1 := len;
- {$ifdef win32}
+ {$ifdef WIN32}
lSrc := PUInt8( integer( laudio_buf ) + audio_buf_index );
CopyMemory(stream, lSrc , len1);
{$else}