aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/lib')
-rw-r--r--Game/Code/lib/portmixer/delphi/portmixer.pas10
-rw-r--r--Game/Code/lib/samplerate/samplerate.pas10
2 files changed, 8 insertions, 12 deletions
diff --git a/Game/Code/lib/portmixer/delphi/portmixer.pas b/Game/Code/lib/portmixer/delphi/portmixer.pas
index a9e27516..80d7676a 100644
--- a/Game/Code/lib/portmixer/delphi/portmixer.pas
+++ b/Game/Code/lib/portmixer/delphi/portmixer.pas
@@ -38,9 +38,6 @@
unit portmixer;
{$IFDEF FPC}
- {$IFNDEF win32}
- {$LINKLIB libportaudio}
- {$ENDIF}
{$PACKRECORDS C} (* GCC/Visual C/C++ compatible record packing *)
{$MODE DELPHI }
{$ENDIF}
@@ -51,14 +48,15 @@ uses
portaudio;
const
-{$IFDEF WIN32}
+{$IFDEF MSWINDOWS}
LibName = 'portmixer.dll';
{$ENDIF}
{$IFDEF LINUX}
LibName = 'libportmixer.so';
{$ENDIF}
-{$IFDEF MACOS}
- LibName = 'libportmixer.dylib';
+{$IFDEF DARWIN}
+// LibName = 'libportmixer.dylib';
+// {$LINKLIB libportaudio}
{$ENDIF}
type
diff --git a/Game/Code/lib/samplerate/samplerate.pas b/Game/Code/lib/samplerate/samplerate.pas
index 28f1b1bb..ab163882 100644
--- a/Game/Code/lib/samplerate/samplerate.pas
+++ b/Game/Code/lib/samplerate/samplerate.pas
@@ -24,9 +24,6 @@
unit samplerate;
{$IFDEF FPC}
- {$IFNDEF win32}
- {$LINKLIB libsamplerate}
- {$ENDIF}
{$PACKRECORDS C} (* GCC/Visual C/C++ compatible record packing *)
{$MODE DELPHI}
{$ENDIF}
@@ -34,14 +31,15 @@ unit samplerate;
interface
const
-{$IFDEF WIN32}
+{$IFDEF MSWINDOWS}
LibName = 'libsamplerate.dll';
{$ENDIF}
{$IFDEF LINUX}
LibName = 'samplerate';
{$ENDIF}
-{$IFDEF MACOS}
- {LibName = 'unknown';}
+{$IFDEF DARWIN}
+// LibName = 'libsamplerate.dylib';
+// {$LINKLIB libsamplerate}
{$ENDIF}
{ Opaque data type SRC_STATE. }