From 8dc13b99b51555be6fa16d271ddb02d995b46d96 Mon Sep 17 00:00:00 2001 From: tobigun Date: Wed, 10 Sep 2008 06:24:16 +0000 Subject: FreeBSD compatibility fixes: - {$IF Defined(Linux)} -> {$IF Defined(Linux) or Defined(BSD)} or {$IF Defined(UNIX)} - config-freebsd.inc added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1357 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/portmixer/portmixer.pas | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/lib/portmixer') 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; -- cgit v1.2.3