aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/portmixer
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/portmixer')
-rw-r--r--src/lib/portmixer/portmixer.pas12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/portmixer/portmixer.pas b/src/lib/portmixer/portmixer.pas
index d657cf85..b84e0cd6 100644
--- a/src/lib/portmixer/portmixer.pas
+++ b/src/lib/portmixer/portmixer.pas
@@ -49,16 +49,14 @@ uses
portaudio;
const
-{$IFDEF MSWINDOWS}
+{$IF Defined(MSWINDOWS)}
LibName = 'portmixer.dll';
-{$ENDIF}
-{$IFDEF LINUX}
- LibName = 'libportmixer.so';
-{$ENDIF}
-{$IFDEF DARWIN}
+{$ELSEIF Defined(DARWIN)}
// LibName = 'libportmixer.dylib';
// {$LINKLIB libportaudio}
-{$ENDIF}
+{$ELSEIF Defined(UNIX)}
+ LibName = 'libportmixer.so';
+{$IFEND}
type
PPxMixer = Pointer;