« Reply #2 on: May 07, 2026, 02:10:03 pm »
Is this correct:
I mean the ifdef parts?
No. https://wiki.freepascal.org/Platform_defines
Yepp
{$IFDEF WINDOWS}
poLibExt:='.dll';
{$ELSE}
{$IFDEF UNIX}
{$IFDEF DARWIN}
poLibExt:='.dylib';
{$ELSE}
poLibExt:='.so';
{$ENDIF}
{$ENDIF}
{$ENDIF}
« Last Edit: May 07, 2026, 02:12:01 pm by Zvoni »

Logged
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad