* initise result of SafeLoadLibrary for non-windows

git-svn-id: trunk@3775 -
This commit is contained in:
Jonas Maebe 2006-06-03 13:46:40 +00:00
parent e4fe73dcf8
commit cb58ac7f18

View File

@ -600,6 +600,8 @@ function SafeLoadLibrary(const FileName: AnsiString;
{$endif}
{$if defined(windows) or defined(win32)}
Result:=LoadLibraryA(PChar(Filename));
{$else}
Result:=0;
{$endif}
finally
{$if defined(cpui386) or defined(cpux86_64)}