Skip to content

Commit 95f7ed2

Browse files
author
pyscripter
committed
1 parent a7f385e commit 95f7ed2

File tree

4 files changed

+519
-626
lines changed

4 files changed

+519
-626
lines changed

PythonForDelphi/Components/Sources/Core/Definition.Inc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,5 +284,7 @@
284284
{$IFDEF CPU64}
285285
{$DEFINE CPUX64}
286286
{$ENDIF CPU64}
287-
{$DEFINE USESYSTEMDISPINVOKE}
287+
{$IF DEFINED(FPC_VER) and (FPC_VER > 5)}
288+
{$DEFINE USESYSTEMDISPINVOKE}
289+
{$IFEND}
288290
{$ENDIF FPC}

0 commit comments

Comments
 (0)