Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions PythonForDelphi/Components/Sources/Core/PythonEngine.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3135,9 +3135,9 @@ implementation
AnsiStrings,
{$ENDIF}
{$IFDEF MSWINDOWS}
Math,
Registry;
Registry,
{$ENDIF}
Math;


(*******************************************************)
Expand Down Expand Up @@ -3308,7 +3308,7 @@ procedure TPythonInputOutput.UpdateCurrentThreadLine;
(** **)
(*******************************************************)

procedure TDynamicDll.DoOpenDll(const aDllName : string);
procedure TDynamicDll.DoOpenDll(const aDllName : String);
begin
if not IsHandleValid then
begin
Expand All @@ -3323,7 +3323,7 @@ procedure TDynamicDll.DoOpenDll(const aDllName : string);
{$ELSE}
//Linux: need here RTLD_GLOBAL, so Python can do "import ctypes"
FDLLHandle := THandle(dlopen(PAnsiChar(AnsiString(GetDllPath+DllName)),
RTLD_LAZY+RTLD_GLOBAL));
RTLD_LAZY+RTLD_GLOBAL)
{$ENDIF}
);
end;
Expand Down