mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 01:08:09 +02:00

http://peter@svn.freepascal.org/svn/fpc/trunk ........ r2556 | marco | 2006-02-12 23:00:38 +0100 (Sun, 12 Feb 2006) | 2 lines * dbf_wtil reenabled for x86_64 ........ r2557 | peter | 2006-02-13 08:19:07 +0100 (Mon, 13 Feb 2006) | 2 lines * remove duplicate dbf_wtil ........ r2558 | peter | 2006-02-13 10:15:11 +0100 (Mon, 13 Feb 2006) | 3 lines * make solaris zipinstall working * remove ezcgi.inc, use GetEnvironmentVariable from SysUtils ........ r2604 | joost | 2006-02-16 00:24:09 +0100 (Thu, 16 Feb 2006) | 1 line + implemented TOracleConnection ........ r2630 | joost | 2006-02-19 16:08:00 +0100 (Sun, 19 Feb 2006) | 1 line + Do not handle :: in a query as a parameter (bug 4813-2) ........ r2631 | joost | 2006-02-19 16:22:21 +0100 (Sun, 19 Feb 2006) | 3 lines + added empty TSQLConnection.GetHandle + added empty TSQLConnection.CreateBlobStream + implemented TSQLConnection.StartTransaction and EndTransaction ........ r2635 | joost | 2006-02-19 18:42:26 +0100 (Sun, 19 Feb 2006) | 1 line + fixed an enabled oracle for win32 ........ r2638 | florian | 2006-02-19 22:33:59 +0100 (Sun, 19 Feb 2006) | 2 lines * ar patch from Yury ........ r2640 | peter | 2006-02-20 07:59:14 +0100 (Mon, 20 Feb 2006) | 2 lines * fix range error ........ r2649 | jonas | 2006-02-20 11:39:37 +0100 (Mon, 20 Feb 2006) | 2 lines * fixed range errors ........ r2657 | joost | 2006-02-20 17:53:35 +0100 (Mon, 20 Feb 2006) | 1 line + Fixed mysql_error ........ r2660 | joost | 2006-02-21 11:14:31 +0100 (Tue, 21 Feb 2006) | 1 line + Moved obsolete DB-units to unmaintained ........ r2661 | joost | 2006-02-21 11:17:47 +0100 (Tue, 21 Feb 2006) | 1 line + renamed tests to ddg ........ r2662 | joost | 2006-02-21 15:29:30 +0100 (Tue, 21 Feb 2006) | 1 line * Fix for error-handling when a TSQLQuery is opened. ........ r2663 | joost | 2006-02-21 22:17:11 +0100 (Tue, 21 Feb 2006) | 4 lines + made TDataset.CreateFields virtual (delphi compat) + implemented TParam.AsLargeInt + cleanup of IBConnection LargeInt code + implemented LargeInt parameter type for IBConnection ........ r2664 | joost | 2006-02-22 12:58:35 +0100 (Wed, 22 Feb 2006) | 1 line + forgot to include changes in db.pp and dsparams.inc in r2663 ........ r2678 | daniel | 2006-02-25 00:31:55 +0100 (Sat, 25 Feb 2006) | 2 lines * Optimize keyboard unit for code size; now 3kb+ object code less. ........ r2706 | hajny | 2006-02-28 00:43:30 +0100 (Tue, 28 Feb 2006) | 1 line * attempt to fix broken compilation for go32v2 target ........ r2719 | daniel | 2006-03-01 13:54:26 +0100 (Wed, 01 Mar 2006) | 2 lines * Convert to table to reduce exe size. ........ r2720 | daniel | 2006-03-01 16:29:05 +0100 (Wed, 01 Mar 2006) | 3 lines - Remove usage of memory unit; things like the lowmemory function are flawed for the same reason memavail is flawed. ........ r2724 | jonas | 2006-03-03 20:29:07 +0100 (Fri, 03 Mar 2006) | 3 lines + added extra info about when parser_e_illegal_assignment_to_count_var can happen ........ r2746 | hajny | 2006-03-05 00:05:24 +0100 (Sun, 05 Mar 2006) | 1 line * Fix to allow / instead of " fexpand.inc ........ r2747 | hajny | 2006-03-05 00:09:06 +0100 (Sun, 05 Mar 2006) | 1 line * Slight optimization (constant instead of variable in assignment) ........ r2748 | tom_at_work | 2006-03-05 00:40:43 +0100 (Sun, 05 Mar 2006) | 2 lines * changed library handle types to the correct TLibHandle * avoid call of FreeLibrary() with zero, because it crashes on some linux versions ........ r2749 | tom_at_work | 2006-03-05 10:18:36 +0100 (Sun, 05 Mar 2006) | 1 line * fixed opengl package compilation on Win32 ........ r2750 | yury | 2006-03-05 10:48:31 +0100 (Sun, 05 Mar 2006) | 1 line * fixed paszlib compiling in objfpc/delphi mode. ........ r2759 | marco | 2006-03-05 14:36:31 +0100 (Sun, 05 Mar 2006) | 3 lines * now first searches ppcross<target> if -P<target> is specified. After that it still searches for ppc<target> ........ r2761 | daniel | 2006-03-05 19:27:17 +0100 (Sun, 05 Mar 2006) | 2 lines * Add extra sequences for FreeBSD xterm ........ r2767 | peter | 2006-03-05 21:16:03 +0100 (Sun, 05 Mar 2006) | 2 lines * fixed xmlreg depends ........ r2768 | yury | 2006-03-05 21:36:16 +0100 (Sun, 05 Mar 2006) | 2 lines * do not try to call cross compiler if host CPU was specified using -P parameter. * tabs to spaces. ........ r2776 | peter | 2006-03-05 22:53:41 +0100 (Sun, 05 Mar 2006) | 2 lines * fixed invalid typecast ........ r2777 | daniel | 2006-03-05 23:00:20 +0100 (Sun, 05 Mar 2006) | 2 lines * Send escape code to xterm to make alt+key send an escape prefix. ........ r2787 | peter | 2006-03-06 12:25:09 +0100 (Mon, 06 Mar 2006) | 2 lines * fix for bug #4962, fix by Marton Pap ........ git-svn-id: branches/fixes_2_0@2797 -
410 lines
15 KiB
PHP
410 lines
15 KiB
PHP
{***************[ PLATFORM INCLUDE UNIT ]******************}
|
|
{ }
|
|
{ System independent INCLUDE file to sort PLATFORMS }
|
|
{ }
|
|
{ Parts Copyright (c) 1997 by Balazs Scheidler }
|
|
{ bazsi@tas.vein.hu }
|
|
{ }
|
|
{ Parts Copyright (c) 1999, 2000 by Leon de Boer }
|
|
{ ldeboer@attglobal.net - primary e-mail address }
|
|
{ ldeboer@projectent.com.au - backup e-mail address }
|
|
{ }
|
|
{****************[ THIS CODE IS FREEWARE ]*****************}
|
|
{ }
|
|
{ This sourcecode is released for the purpose to }
|
|
{ promote the pascal language on all platforms. You may }
|
|
{ redistribute it and/or modify with the following }
|
|
{ DISCLAIMER. }
|
|
{ }
|
|
{ This SOURCE CODE is distributed "AS IS" WITHOUT }
|
|
{ WARRANTIES AS TO PERFORMANCE OF MERCHANTABILITY OR }
|
|
{ ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED. }
|
|
{ }
|
|
{*****************[ SUPPORTED PLATFORMS ]******************}
|
|
{ 16 and 32 Bit compilers }
|
|
{ DOS - Turbo Pascal 7.0 + (16 Bit) }
|
|
{ DPMI - Turbo Pascal 7.0 + (16 Bit) }
|
|
{ - FPC 0.9912+ (GO32V2) (32 Bit) }
|
|
{ WINDOWS - Turbo Pascal 7.0 + (16 Bit) }
|
|
{ - Delphi 1.0+ (16 Bit) }
|
|
{ WIN95/NT - Delphi 2.0+ (32 Bit) }
|
|
{ - Virtual Pascal 2.0+ (32 Bit) }
|
|
{ - Speedsoft Sybil 2.0+ (32 Bit) }
|
|
{ - FPC 0.9912+ (32 Bit) }
|
|
{ OS2 - Virtual Pascal 1.0+ (32 Bit) }
|
|
{ - C'T patch to BP (16 Bit) }
|
|
{ LINUX - FPC 0.9912+ (32 Bit) }
|
|
{ }
|
|
{******************[ REVISION HISTORY ]********************}
|
|
{ Version Date Who Fix }
|
|
{ ------- -------- --- ---------------------------- }
|
|
{ 0.1 02 Jul 97 Bazsi Initial implementation }
|
|
{ 0.2 28 Aug 97 LdB Fixed OS2 platform sort }
|
|
{ 0.3 29 Aug 97 LdB Added assembler type changes }
|
|
{ 0.4 29 Aug 97 LdB OS_DOS removed from WINDOWS }
|
|
{ 0.5 23 Oct 97 LdB Delphi & speed compilers }
|
|
{ 0.6 05 May 98 LdB Virtual Pascal 2.0 added }
|
|
{ 0.7 19 May 98 LdB Delphi 2/3 definitions added }
|
|
{ 0.8 06 Aug 98 CEC FPC only support fixed WIN32 }
|
|
{ 0.9 10 Aug 98 LdB BP_VMTLink def/Undef added }
|
|
{ 1.0 27 Aug 98 LdB Atari, Mac etc not undef dos }
|
|
{ 1.1 25 Oct 98 PfV Delphi 4 definitions added }
|
|
{ 1.2 06 Jun 99 LdB Sybil 2.0 support added }
|
|
{ 1.3 13 Jun 99 LdB Sybil 2.0 undef BP_VMT link }
|
|
{ 1.31 03 Nov 99 LdB FPC windows defines WIN32 }
|
|
{ 1.32 04 Nov 99 LdB Delphi 5 definitions added }
|
|
{ 1.33 16 Oct 00 LdB WIN32/WIN16 defines added }
|
|
{ 1.34 02 May 02 MvdV FreeBSD, NetBSD, OS_UNIX }
|
|
{**********************************************************}
|
|
|
|
{ ****************************************************************************
|
|
|
|
This include file defines some conditional defines to allow us to select
|
|
the compiler/platform/target in a consequent way.
|
|
|
|
OS_XXXX The operating system used (XXXX may be one of:
|
|
DOS, OS2, Linux, Windows, Go32)
|
|
PPC_XXXX The compiler used: BP, FPK, Virtual, Speed
|
|
BIT_XX The number of bits of the target platform: 16 or 32
|
|
PROC_XXXX The mode of the target processor (Real or Protected)
|
|
This shouldn't be used, except for i386 specific parts.
|
|
ASM_XXXX This is the assembler type: BP, ISO-ANSI, FPK
|
|
|
|
****************************************************************************
|
|
|
|
This is how the IFDEF and UNDEF statements below should translate.
|
|
|
|
|
|
PLATFORM SYSTEM COMPILER COMP ID CPU MODE BITS ASSEMBLER
|
|
-------- ------ -------- ------- -------- ---- ---------
|
|
|
|
DOS OS_DOS BP/TP7 PPC_BP PROC_Real BIT_16 ASM_BP
|
|
|
|
DPMI OS_DOS BP/TP7 PPC_BP PROC_Protected BIT_16 ASM_BP
|
|
FPC PPC_FPC PROC_Protected BIT_32 ASM_FPC
|
|
|
|
LINUX OS_LINUX FPC PPC_FPC PROC_Protected BIT_32 ASM_FPC
|
|
OS_UNIX
|
|
|
|
FREEBSD OS_FREEBSD FPC PPC_FPC PROC_Protected BIT_32 ASM_FPC
|
|
OS_UNIX
|
|
|
|
NETBSD OS_NETBSD FPC PPC_FPC PROC_Protected BIT_32 ASM_FPC
|
|
OS_UNIX
|
|
|
|
WINDOWS OS_WINDOWS BP/TP7 PPC_BP PROC_Protected BIT_16 ASM_BP
|
|
DELPHI PPC_DELPHI PROC_Protected BIT_16 ASM_BP
|
|
DELPHI2 PPC_DELPHI2 PROC_Protected BIT_16 ASM_BP
|
|
|
|
WIN95/NT OS_WINDOWS DELPHI2 PPC_DELPHI2 PROC_Protected BIT_32 ASM_BP
|
|
DELPHI3 PPC_DELPHI3 PROC_Protected BIT_32 ASM_BP
|
|
DELPHI4 PPC_DELPHI3 PROC_Protected BIT_32 ASM_BP
|
|
DELPHI5 PPC_DELPHI3 PROC_Protected BIT_32 ASM_BP
|
|
VIRTUAL PPC_VIRTUAL PROC_Protected BIT 32 ASM_BP
|
|
SYBIL2 PPC_SPEED PROC_Protected BIT_32 ASM_BP
|
|
FPC PPC_FPC PROC_Protected BIT_32 ASM_FPC
|
|
|
|
OS2 OS_OS2 BPOS2 PPC_BPOS2 PROC_Protected BIT_16 ASM_BP
|
|
VIRTUAL PPC_VIRTUAL PROC_Protected BIT_32 ASM_BP
|
|
SPEED PPC_SPEED PROC_Protected BIT_32 ASM_BP
|
|
SYBIL2 PPC_SPEED PROC_Protected BIT_32 ASM_BP
|
|
FPC PPC_FPC PROC_Protected BIT_32 ASM_FPC
|
|
****************************************************************************}
|
|
{****************************************************************************
|
|
|
|
FOR ALL COMPILERS BP_VMTLink defined but FPC and Delphi3/Delphi4 undefine it
|
|
|
|
****************************************************************************}
|
|
{****************************************************************************
|
|
|
|
FOR FPC THESE ARE THE TRANSLATIONS
|
|
|
|
PLATFORM SYSTEM COMPILER HANDLE SIZE ASM CPU
|
|
-------- ------ -------- ----------- ---- ---
|
|
|
|
DOS OS_DOS,OS_GO32 FPC 32-bit AT&T CPU86
|
|
|
|
WIN32 OS_WINDOWS FPC 32-bit AT&T ----
|
|
|
|
LINUX OS_LINUX,OS_UNIX FPC 32-bit AT&T ----
|
|
FREEBSD OS_NETBSD,OS_UNIX FPC 32-bit AT&T ----
|
|
NETBSD OS_FREEBSD,OS_UNIX FPC 32-bit AT&T ----
|
|
|
|
OS2 OS_OS2 FPC ????? AT&T CPU86
|
|
|
|
ATARI OS_ATARI FPC 32-bit Internal CPU68
|
|
|
|
MACOS OS_MAC FPC ????? Internal CPU68
|
|
|
|
AMIGA OS_AMIGA FPC 32-bit Internal CPU68
|
|
|
|
****************************************************************************}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ Initial assume BORLAND 16 BIT DOS COMPILER - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$DEFINE OS_DOS}
|
|
{$DEFINE PROC_Real}
|
|
{$DEFINE BIT_16}
|
|
{$DEFINE PPC_BP}
|
|
{$DEFINE ASM_BP}
|
|
{$DEFINE BP_VMTLink}
|
|
{$DEFINE CPU86}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ FPC 32 BIT COMPILER changes ASM, 32 bits etc - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF FPC}
|
|
{$mode fpc}
|
|
|
|
{$UNDEF PROC_Real}
|
|
{$DEFINE PROC_Protected}
|
|
{$UNDEF BIT_16}
|
|
{$DEFINE BIT_32}
|
|
{$UNDEF PPC_BP}
|
|
{$DEFINE PPC_FPC}
|
|
{$UNDEF ASM_BP}
|
|
{$DEFINE ASM_FPC}
|
|
{$UNDEF BP_VMTLink}
|
|
{$DEFINE Use_API}
|
|
{$DEFINE NO_WINDOW}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ FPC LINUX COMPILER changes operating system - Updated 27Aug98 LdB }
|
|
{ Note: Other linux compilers would need to change other details }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF LINUX}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_LINUX}
|
|
{$DEFINE OS_UNIX}
|
|
{$ENDIF}
|
|
|
|
{$IFDEF FreeBSD}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_FREEBSD}
|
|
{$DEFINE OS_UNIX}
|
|
{$ENDIF}
|
|
|
|
{$IFDEF NETBSD}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_NETBSD}
|
|
{$DEFINE OS_UNIX}
|
|
{$ENDIF}
|
|
|
|
|
|
{$IFDEF Darwin}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_DARWIN}
|
|
{$DEFINE OS_UNIX}
|
|
{$ENDIF}
|
|
|
|
|
|
{$IFDEF SOLARIS}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_SOLARIS}
|
|
{$DEFINE OS_UNIX}
|
|
{$ENDIF}
|
|
|
|
{------------------------------------------------}
|
|
{ FPC Netware COMPILER changes operating system }
|
|
{------------------------------------------------}
|
|
{$IFDEF Netware}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_NETWARE}
|
|
{$IFDEF NETWARE_LIBC}
|
|
{$DEFINE OS_NETWARE_LIBC}
|
|
{$ELSE}
|
|
{$DEFINE OS_NETWARE_CLIB}
|
|
{$ENDIF}
|
|
{$DEFINE HasSysMsgUnit}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ FPC GO32V2 COMPILER changes operating system - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF GO32V2}
|
|
{$DEFINE OS_GO32}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ 32 BIT WINDOWS COMPILERS changes bit size - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF WIN32}
|
|
{$IFNDEF WINDOWS}
|
|
{$DEFINE WINDOWS}
|
|
{$ENDIF}
|
|
{$UNDEF BIT_16}
|
|
{$DEFINE BIT_32}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ WINDOWS COMPILERS change op system and proc mode - Updated 03Nov99 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF WINDOWS}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_WINDOWS}
|
|
{$UNDEF PROC_Real}
|
|
{$DEFINE PROC_Protected}
|
|
{$IFDEF FPC}
|
|
{$DEFINE WIN32}
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ DELPHI1 COMPILER changes compiler type - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF VER80}
|
|
{$UNDEF PPC_BP}
|
|
{$DEFINE PPC_DELPHI}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ DELPHI2 COMPILER changes compiler type - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF VER90}
|
|
{$UNDEF PPC_BP}
|
|
{$DEFINE PPC_DELPHI}
|
|
{$DEFINE PPC_DELPHI2}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ DELPHI3 COMPILER changes compiler type - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF VER100}
|
|
{$UNDEF PPC_BP}
|
|
{$DEFINE PPC_DELPHI}
|
|
{$DEFINE PPC_DELPHI3}
|
|
{$UNDEF BP_VMTLink}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ DELPHI4 COMPILER changes compiler type - Updated 25Oct98 pfv }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF VER120}
|
|
{$UNDEF PPC_BP}
|
|
{$DEFINE PPC_DELPHI}
|
|
{$DEFINE PPC_DELPHI3}
|
|
{$DEFINE PPC_DELPHI4}
|
|
{$UNDEF BP_VMTLink}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ DELPHI5 COMPILER changes compiler type - Updated 04Nov99 pfv }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF VER130}
|
|
{$UNDEF PPC_BP}
|
|
{$DEFINE PPC_DELPHI}
|
|
{$DEFINE PPC_DELPHI3}
|
|
{$DEFINE PPC_DELPHI4}
|
|
{$DEFINE PPC_DELPHI5}
|
|
{$UNDEF BP_VMTLink
|
|
}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ OS2 COMPILERS change compiler type and mode - Updated 27Aug98 LdB }
|
|
{ Note: Assumes BPOS2 16BIT OS2 patch except for FPC which undefines this }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF OS2}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_OS2}
|
|
{$UNDEF PROC_Real}
|
|
{$DEFINE PROC_Protected}
|
|
{$UNDEF PPC_BP}
|
|
{$DEFINE PPC_BPOS2}
|
|
{$IFDEF FPC}
|
|
{$UNDEF PPC_BPOS2}
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ VIRTUAL PASCAL changes compiler type/32 bit - Updated 27Aug98 LdB }
|
|
{ Note: VP2 can compile win 32 code so changes op system as needed }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF VirtualPascal}
|
|
{$UNDEF BIT_16}
|
|
{$DEFINE BIT_32}
|
|
{$IFDEF PPC_BPOS2}
|
|
{$UNDEF PPC_BPOS2}
|
|
{$ENDIF}
|
|
{$DEFINE PPC_VIRTUAL}
|
|
{$IFDEF WIN32}
|
|
{$UNDEF PPC_BP}
|
|
{$UNDEF OS_OS2}
|
|
{$DEFINE OS_WINDOWS}
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ SPEED COMPILER changes compiler type/32 bit - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF Speed}
|
|
{$UNDEF BIT_16}
|
|
{$DEFINE BIT_32}
|
|
{$UNDEF PPC_BPOS2}
|
|
{$DEFINE PPC_SPEED}
|
|
{$UNDEF BP_VMTLink}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ FPC AMIGA COMPILER changes op system and CPU type - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF AMIGA}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_AMIGA}
|
|
{$IFDEF CPU86}
|
|
{$UNDEF CPU86}
|
|
{$ENDIF}
|
|
{$IFNDEF CPU68}
|
|
{$DEFINE CPU68}
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ FPC ATARI COMPILER changes op system and CPU type - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF ATARI}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_ATARI}
|
|
{$IFDEF CPU86}
|
|
{$UNDEF CPU86}
|
|
{$ENDIF}
|
|
{$IFNDEF CPU68}
|
|
{$DEFINE CPU68}
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ FPC MAC COMPILER changes op system and CPU type - Updated 27Aug98 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF MACOS}
|
|
{$UNDEF OS_DOS}
|
|
{$DEFINE OS_MAC}
|
|
{$IFDEF CPU86}
|
|
{$UNDEF CPU86}
|
|
{$ENDIF}
|
|
{$IFNDEF CPU68}
|
|
{$DEFINE CPU68}
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
|
|
{$IFDEF OS_DOS}
|
|
{$DEFINE NO_WINDOW}
|
|
{$ENDIF}
|
|
|
|
{---------------------------------------------------------------------------}
|
|
{ WIN16 AND WIN32 set if in windows - Updated 16Oct2000 LdB }
|
|
{---------------------------------------------------------------------------}
|
|
{$IFDEF OS_WINDOWS} { WINDOWS SYSTEM }
|
|
{$IFDEF BIT_16}
|
|
{$DEFINE WIN16} { 16 BIT WINDOWS }
|
|
{$ENDIF}
|
|
{$IFDEF BIT_32}
|
|
{$DEFINE WIN32} { 32 BIT WINDOWS }
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
|
|
|
|
|