
//------------------ common options for AL4_form, AL4_drawing etc.
{$IFDEF FPC}
	//{$IFNDEF WIN32}
	{$DEFINE USE_LISTS_OF_DESCRIPTORS}
	//{$ENDIF}
	{$DEFINE MODERN_CODE}
{$ENDIF}

//{$DEFINE USE_LISTS_OF_DESCRIPTORS}

//{$DEFINE DIRECT_DRAW_CANVAS}

//{$DEFINE USE_LISTS_OF_DESCRIPTORS}

//------------------- for AL4_form mainly

//{$DEFINE MOBILE_SCREEN}

//------------------- to debug SIMULATED_TRANSFORMS
//{$DEFINE SIMULATED_TRANSFORMS}

{$IFDEF VER90}
              {$DEFINE _D2}
              {$DEFINE _D2orD3}
              {$DEFINE _D2orD3orD4}
{$ENDIF}

{$IFDEF VER100}
              {$DEFINE _D3}
              {$DEFINE _D3orHigher}
              {$DEFINE _D2orD3}
              {$DEFINE _D2orD3orD4}
              {$DEFINE _D3orD4}
{$ENDIF}

{$IFDEF VER120}
              {$DEFINE _D3orHigher}
              {$DEFINE _D3orD4}
              {$DEFINE _D4}
              {$DEFINE _D4orHigher}
              {$DEFINE _D2orD3orD4}
                  {$IFnDEF KOL_MCK}
                           {$DEFINE INPACKAGE}
                  {$ENDIF}
{$ENDIF}

{$IFDEF VER130}
              {$DEFINE _D3orHigher}
              {$DEFINE _D4orHigher}
              {$DEFINE _D5}
              {$DEFINE _D5orHigher}
{$ENDIF}

{$IFDEF VER140}
              {$DEFINE _D3orHigher}
              {$DEFINE _D4orHigher}
              {$DEFINE _D5orHigher}
              {$DEFINE _D6}
              {$DEFINE _D6orHigher}
{$ENDIF}

{$IFDEF VER150}
              {$DEFINE _D3orHigher}
              {$DEFINE _D4orHigher}
              {$DEFINE _D5orHigher}
              {$DEFINE _D6orHigher}
              {$DEFINE _D7}
              {$DEFINE _D7orHigher}
{$WARN UNIT_DEPRECATED OFF}
{$WARN SYMBOL_PLATFORM OFF}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CAST OFF}
{$WARN UNSAFE_CODE OFF}
{$ENDIF}

////////////////////////////////////////////////////////////////////////
{$IFDEF FPC}
		{$DEFINE MODERN_CODE}
{$ELSE}
	{$IFDEF _D5orHigher}
			{$DEFINE MODERN_CODE}
	{$ELSE}
			{$DEFINE USE_FirstByte}
	{$ENDIF}
{$ENDIF}


