mirror of
https://github.com/red-prig/fpPS4.git
synced 2024-11-27 00:20:36 +00:00
make libportaudio static
libportaudio-2.dll not needed anymore
This commit is contained in:
parent
45dd04e8f7
commit
35825112d8
@ -32,9 +32,6 @@ unit libportaudio;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
{$if defined(USE_STATIC_PORTAUDIO) and defined(WINDOWS)}
|
|
||||||
libaudio_static,
|
|
||||||
{$ENDIF}
|
|
||||||
CTypes;
|
CTypes;
|
||||||
|
|
||||||
{$ifdef USE_STATIC_PORTAUDIO}
|
{$ifdef USE_STATIC_PORTAUDIO}
|
||||||
@ -45,6 +42,11 @@ uses
|
|||||||
{$Linklib libm}
|
{$Linklib libm}
|
||||||
{$Linklib libc}
|
{$Linklib libc}
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
{$IFDEF windows}
|
||||||
|
{$Linklib libkernel32}
|
||||||
|
{$Linklib libwinmm}
|
||||||
|
{$Linklib libmsvcrt}
|
||||||
|
{$ENDIF}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
Const
|
Const
|
||||||
@ -274,5 +276,27 @@ function Pa_Sleep(msec : CLong) : integer; cdecl; external {$ifndef USE_STATIC_P
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
{$IFNDEF PA_NOT_chkstk_ms}
|
||||||
|
procedure ___chkstk_ms; cdecl; export;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
|
{$IFNDEF PA_NOT_assert}
|
||||||
|
procedure _assert(__assertion,__file,__line:PChar); cdecl; export;
|
||||||
|
Var
|
||||||
|
lineno:longint;
|
||||||
|
Error:word;
|
||||||
|
begin
|
||||||
|
if Assigned(AssertErrorProc) then
|
||||||
|
begin
|
||||||
|
lineno:=0;
|
||||||
|
Error:=0;
|
||||||
|
Val(__line,lineno,Error);
|
||||||
|
AssertErrorProc(__assertion,__file,lineno,get_caller_addr(get_frame));
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
BIN
static/libkernel32.a
Normal file
BIN
static/libkernel32.a
Normal file
Binary file not shown.
BIN
static/libmingwex.a
Normal file
BIN
static/libmingwex.a
Normal file
Binary file not shown.
BIN
static/libmsvcrt.a
Normal file
BIN
static/libmsvcrt.a
Normal file
Binary file not shown.
BIN
static/libportaudio.a
Normal file
BIN
static/libportaudio.a
Normal file
Binary file not shown.
BIN
static/libwinmm.a
Normal file
BIN
static/libwinmm.a
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user