mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 06:58:26 +02:00
27 lines
427 B
PHP
27 lines
427 B
PHP
|
|
{$ifdef Darwin}
|
|
{$modeswitch objectivec1}
|
|
{$endif}
|
|
|
|
// Check if a backend is already defined
|
|
{$if defined(CD_X11)}
|
|
{$else}
|
|
// Choosing the default backend
|
|
{$ifdef Windows}
|
|
{$define CD_WINDOWS}
|
|
{$endif}
|
|
{$ifdef UNIX}
|
|
{$ifdef Darwin}
|
|
{$define CD_Cocoa}
|
|
{$else}
|
|
{$ifdef Android}
|
|
{$define CD_Android}
|
|
{$else}
|
|
{$define CD_X11}
|
|
{$endif}
|
|
{$endif}
|
|
{$endif}
|
|
{$endif}
|
|
|
|
|