{*******************************************************}
{                                                       }
{       WHY not a compiler? by Y [05-04-00]             }
{       Miscellaneous $DEFINEs                          }
{                                                       }
{       Copyright (c) 1999-2000 CROWELL, Inc.           }
{       All Rights Reserved.                            }
{                                                       }
{*******************************************************}

{ Supported $DEFINEs list.

  Compilers:
  TPC           - Turbo Pascal Compiler
  DCC           - Borland Delphi Compiler
  FPC           - Free Pascal Compiler
  TMTPC         - TMT Pascal Compiler

  CPUs:
  CPU16         - i8086 to i286
  CPU32         - i386 to ...

  CPU Modes:
  CPUREAL       - real mode
  CPUPROTECTED  - protected mode

  Operating systems:
  MSDOS         - MS/PC/etc DOS
  WIN16         - MS Windows
  WIN32         - MS Windows 95/98/NT
  LINUX         - LINUX
}

{$DEFINE TPC}
{$DEFINE CPU16}
{$DEFINE CPUREAL}

{$IFDEF FPC}
  {$UNDEF TPC}
  {$UNDEF CPU16}
  {$DEFINE CPU32}
  {$UNDEF CPUREAL}
  {$DEFINE CPUPROTECTED}
{$ELSE  FPC}
  {$IFDEF __TMT__}
    {$UNDEF TPC}
    {$DEFINE TMTPC}
    {$UNDEF CPU16}
    {$DEFINE CPU32}
    {$UNDEF CPUREAL}
    {$DEFINE CPUPROTECTED}
  {$ELSE  __TMT__}
    {$IFDEF Win32}
      {$UNDEF TPC}
      {$DEFINE DCC}
      {$UNDEF CPU16}
      {$DEFINE CPU32}
      {$UNDEF CPUREAL}
      {$DEFINE CPUPROTECTED}
    {$ELSE  Win32}
      {$IFDEF DPMI}
        {$UNDEF CPUREAL}
        {$DEFINE CPUPROTECTED}
      {$ELSE  DPMI}
      {$ENDIF DPMI}
    {$ENDIF Win32}
  {$ENDIF __TMT__}
{$ENDIF FPC}

{$IFDEF CPUPROTECTED}
  {$DEFINE CPUPROT}
{$ENDIF CPUPROTECTED}

{$IFDEF TPC}
  {$IFDEF WINDOWS}
    {$DEFINE WIN16}
  {$ELSE  WINDOWS}
    {$DEFINE MSDOS}
  {$ENDIf WINDOWS}
{$ENDIF}

{$IFDEF FPC}
{$ENDIF FPC}

{$IFDEF DCC}
{$ENDIF DCC}

{$IFDEF TMTPC}
{$ENDIF TMTPC}