📄 jedi.inc
字号:
{$DEFINE COMPILER2_UP}
{$DEFINE COMPILER1_UP}
{$ENDIF}
{$IFDEF COMPILER35}
{$DEFINE COMPILER35_UP}
{$DEFINE COMPILER3_UP}
{$DEFINE COMPILER2_UP}
{$DEFINE COMPILER1_UP}
{$ENDIF}
{$IFDEF COMPILER3}
{$DEFINE COMPILER3_UP}
{$DEFINE COMPILER2_UP}
{$DEFINE COMPILER1_UP}
{$ENDIF}
{$IFDEF COMPILER2}
{$DEFINE COMPILER2_UP}
{$DEFINE COMPILER1_UP}
{$ENDIF}
{$IFDEF COMPILER1}
{$DEFINE COMPILER1_UP}
{$ENDIF}
{------------------------------------------------------------------------------}
{$IFDEF DELPHICOMPILER}
{$DEFINE DELPHILANGUAGE}
{$ENDIF}
{$IFDEF BCBCOMPILER}
{$DEFINE DELPHILANGUAGE}
{$ENDIF}
{------------------------------------------------------------------------------}
{ RTLX_UP from RTLX_UP mappings }
{------------------------------------------------------------------------------}
{$IFDEF RTL180_UP}
{$DEFINE RTL170_UP}
{$ENDIF}
{$IFDEF RTL170_UP}
{$DEFINE RTL160_UP}
{$ENDIF}
{$IFDEF RTL160_UP}
{$DEFINE RTL150_UP}
{$ENDIF}
{$IFDEF RTL150_UP}
{$DEFINE RTL145_UP}
{$ENDIF}
{$IFDEF RTL145_UP}
{$DEFINE RTL142_UP}
{$ENDIF}
{$IFDEF RTL142_UP}
{$DEFINE RTL140_UP}
{$ENDIF}
{$IFDEF RTL140_UP}
{$DEFINE RTL130_UP}
{$ENDIF}
{$IFDEF RTL130_UP}
{$DEFINE RTL125_UP}
{$ENDIF}
{$IFDEF RTL125_UP}
{$DEFINE RTL120_UP}
{$ENDIF}
{$IFDEF RTL120_UP}
{$DEFINE RTL110_UP}
{$ENDIF}
{$IFDEF RTL110_UP}
{$DEFINE RTL100_UP}
{$ENDIF}
{$IFDEF RTL100_UP}
{$DEFINE RTL93_UP}
{$ENDIF}
{$IFDEF RTL93_UP}
{$DEFINE RTL90_UP}
{$ENDIF}
{$IFDEF RTL90_UP}
{$DEFINE RTL80_UP}
{$ENDIF}
{------------------------------------------------------------------------------}
{ Map COMPILERX_UP to friendly feature names }
{------------------------------------------------------------------------------}
{$IFDEF FPC}
{$IFDEF VER1_0}
Please use FPC 2.0 or later to compile this.
{$ELSE}
{$DEFINE SUPPORTS_OUTPARAMS}
{$DEFINE SUPPORTS_WIDECHAR}
{$DEFINE SUPPORTS_WIDESTRING}
{$IFDEF HASINTF}
{$DEFINE SUPPORTS_INTERFACE}
{$ENDIF}
{$IFDEF HASVARIANT}
{$DEFINE SUPPORTS_VARIANT}
{$ENDIF}
{$IFDEF FPC_HAS_TYPE_SINGLE}
{$DEFINE SUPPORTS_SINGLE}
{$ENDIF}
{$IFDEF FPC_HAS_TYPE_DOUBLE}
{$DEFINE SUPPORTS_DOUBLE}
{$ENDIF}
{$IFDEF FPC_HAS_TYPE_EXTENDED}
{$DEFINE SUPPORTS_EXTENDED}
{$ENDIF}
{$IFDEF HASCURRENCY}
{$DEFINE SUPPORTS_CURRENCY}
{$ENDIF}
{$DEFINE SUPPORTS_THREADVAR}
{$DEFINE SUPPORTS_CONSTPARAMS}
{$DEFINE SUPPORTS_LONGWORD}
{$DEFINE SUPPORTS_INT64}
{$DEFINE SUPPORTS_DYNAMICARRAYS}
{$DEFINE SUPPORTS_DEFAULTPARAMS}
{$DEFINE SUPPORTS_OVERLOAD}
{$DEFINE ACCEPT_DEPRECATED}
{$DEFINE ACCEPT_PLATFORM}
{$DEFINE ACCEPT_LIBRARY}
{$DEFINE SUPPORTS_EXTSYM}
{$DEFINE SUPPORTS_NODEFINE}
{$DEFINE SUPPORTS_CUSTOMVARIANTS}
{$DEFINE SUPPORTS_VARARGS}
{$DEFINE SUPPORTS_ENUMVALUE}
{$IFDEF LINUX}
{$DEFINE HAS_UNIT_LIBC}
{$ENDIF LINUX}
{$DEFINE HAS_UNIT_TYPES}
{$DEFINE HAS_UNIT_VARIANTS}
{$DEFINE HAS_UNIT_STRUTILS}
{$DEFINE HAS_UNIT_RTLCONSTS}
{$DEFINE XPLATFORM_RTL}
{$UNDEF SUPPORTS_DISPINTERFACE}
{$UNDEF SUPPORTS_IMPLEMENTS}
{$UNDEF SUPPORTS_UNSAFE_WARNINGS}
{$ENDIF}
{$ENDIF FPC}
{$IFDEF COMPILER1_UP}
{$DEFINE SUPPORTS_CONSTPARAMS}
{$DEFINE SUPPORTS_SINGLE}
{$DEFINE SUPPORTS_DOUBLE}
{$DEFINE SUPPORTS_EXTENDED}
{$ENDIF COMPILER1_UP}
{$IFDEF COMPILER2_UP}
{$DEFINE SUPPORTS_CURRENCY}
{$DEFINE SUPPORTS_THREADVAR}
{$DEFINE SUPPORTS_VARIANT}
{$DEFINE SUPPORTS_WIDECHAR}
{$ENDIF COMPILER2_UP}
{$IFDEF COMPILER3_UP}
{$DEFINE SUPPORTS_OUTPARAMS}
{$DEFINE SUPPORTS_WIDESTRING}
{$DEFINE SUPPORTS_INTERFACE}
{$DEFINE SUPPORTS_DISPINTERFACE}
{$DEFINE SUPPORTS_DISPID}
{$DEFINE SUPPORTS_WEAKPACKAGEUNIT}
{$ENDIF COMPILER3_UP}
{$IFDEF COMPILER35_UP}
{$DEFINE SUPPORTS_EXTSYM}
{$DEFINE SUPPORTS_NODEFINE}
{$ENDIF COMPILER35_UP}
{$IFDEF COMPILER4_UP}
{$DEFINE SUPPORTS_LONGWORD}
{$DEFINE SUPPORTS_INT64}
{$DEFINE SUPPORTS_DYNAMICARRAYS}
{$DEFINE SUPPORTS_DEFAULTPARAMS}
{$DEFINE SUPPORTS_OVERLOAD}
{$DEFINE SUPPORTS_IMPLEMENTS}
{$ENDIF COMPILER4_UP}
{$IFDEF COMPILER6_UP}
{$DEFINE SUPPORTS_DEPRECATED}
{$DEFINE SUPPORTS_LIBRARY}
{$DEFINE SUPPORTS_PLATFORM}
{$DEFINE SUPPORTS_LOCAL}
{$DEFINE ACCEPT_DEPRECATED}
{$DEFINE ACCEPT_PLATFORM}
{$DEFINE ACCEPT_LIBRARY}
{$DEFINE SUPPORTS_DEPRECATED_WARNINGS}
{$DEFINE SUPPORTS_LIBRARY_WARNINGS}
{$DEFINE SUPPORTS_PLATFORM_WARNINGS}
{$DEFINE SUPPORTS_CUSTOMVARIANTS}
{$DEFINE SUPPORTS_VARARGS}
{$DEFINE SUPPORTS_ENUMVALUE}
{$DEFINE SUPPORTS_COMPILETIME_MESSAGES}
{$ENDIF COMPILER6_UP}
{$IFDEF COMPILER7_UP}
{$DEFINE SUPPORTS_UNSAFE_WARNINGS}
{$ENDIF COMPILER7_UP}
{$IFDEF COMPILER9_UP}
{$DEFINE SUPPORTS_FOR_IN}
{$DEFINE SUPPORTS_INLINE}
{$DEFINE SUPPORTS_NESTED_CONSTANTS}
{$DEFINE SUPPORTS_NESTED_TYPES}
{$IFDEF CLR}
{$DEFINE SUPPORTS_ENHANCED_RECORDS}
{$DEFINE SUPPORTS_CLASS_FIELDS}
{$DEFINE SUPPORTS_CLASS_HELPERS}
{$DEFINE SUPPORTS_CLASS_OPERATORS}
{$DEFINE SUPPORTS_STRICT}
{$DEFINE SUPPORTS_STATIC}
{$DEFINE SUPPORTS_FINAL}
{$ENDIF CLR}
{$ENDIF COMPILER9_UP}
{$IFDEF COMPILER10_UP}
{$DEFINE SUPPORTS_ENHANCED_RECORDS}
{$DEFINE SUPPORTS_CLASS_FIELDS}
{$DEFINE SUPPORTS_CLASS_HELPERS}
{$DEFINE SUPPORTS_CLASS_OPERATORS}
{$DEFINE SUPPORTS_STRICT}
{$DEFINE SUPPORTS_STATIC}
{$DEFINE SUPPORTS_FINAL}
{$ENDIF COMPILER10_UP}
{$IFDEF RTL140_UP}
{$IFDEF LINUX}
{$DEFINE HAS_UNIT_LIBC}
{$ENDIF LINUX}
{$DEFINE HAS_UNIT_RTLCONSTS}
{$DEFINE HAS_UNIT_TYPES}
{$DEFINE HAS_UNIT_VARIANTS}
{$DEFINE HAS_UNIT_STRUTILS}
{$DEFINE XPLATFORM_RTL}
{$ENDIF RTL140_UP}
{------------------------------------------------------------------------------}
{ Cross-platform related defines }
{------------------------------------------------------------------------------}
{$IFNDEF CPU386}
{$DEFINE PUREPASCAL}
{$ENDIF}
{$IFDEF WIN32}
{$DEFINE MSWINDOWS} // predefined for D6+/BCB6+
{$DEFINE Win32API}
{$ENDIF}
{$IFDEF DELPHILANGUAGE}
{$IFDEF LINUX}
{$DEFINE UNIX}
{$ENDIF}
{$IFNDEF CONSOLE}
{$IFDEF LINUX}
{$DEFINE VisualCLX}
{$ENDIF}
{$IFNDEF VisualCLX}
{$DEFINE VCL}
{$ENDIF}
{$ENDIF ~CONSOLE}
{$ENDIF DELPHILANGUAGE}
{------------------------------------------------------------------------------}
{ Compiler settings }
{------------------------------------------------------------------------------}
{$IFOPT A+} {$DEFINE ALIGN_ON} {$ENDIF}
{$IFOPT B+} {$DEFINE BOOLEVAL_ON} {$ENDIF}
{$IFDEF COMPILER2_UP}
{$IFOPT C+} {$DEFINE ASSERTIONS_ON} {$ENDIF}
{$ENDIF}
{$IFOPT D+} {$DEFINE DEBUGINFO_ON} {$ENDIF}
{$IFOPT G+} {$DEFINE IMPORTEDDATA_ON} {$ENDIF}
{$IFDEF COMPILER2_UP}
{$IFOPT H+} {$DEFINE LONGSTRINGS_ON} {$ENDIF}
{$ENDIF}
{ HINTS }
{$IFOPT I+} {$DEFINE IOCHECKS_ON} {$ENDIF}
{$IFDEF COMPILER2_UP}
{$IFOPT J+} {$DEFINE WRITEABLECONST_ON} {$ENDIF}
{$ENDIF}
{$IFOPT L+} {$DEFINE LOCALSYMBOLS} {$ENDIF}
{$IFOPT M+} {$DEFINE TYPEINFO_ON} {$ENDIF}
{$IFOPT O+} {$DEFINE OPTIMIZATION_ON} {$ENDIF}
{$IFOPT P+} {$DEFINE OPENSTRINGS_ON} {$ENDIF}
{$IFOPT Q+} {$DEFINE OVERFLOWCHECKS_ON} {$ENDIF}
{$IFOPT R+} {$DEFINE RANGECHECKS_ON} {$ENDIF}
{ REALCOMPATIBILITY }
{$IFOPT T+} {$DEFINE TYPEDADDRESS_ON} {$ENDIF}
{$IFOPT U+} {$DEFINE SAFEDIVIDE_ON} {$ENDIF}
{$IFOPT V+} {$DEFINE VARSTRINGCHECKS_ON} {$ENDIF}
{$IFOPT W+} {$DEFINE STACKFRAMES_ON} {$ENDIF}
{ WARNINGS }
{$IFOPT X+} {$DEFINE EXTENDEDSYNTAX_ON} {$ENDIF}
// for Delphi/BCB trial versions remove the point from the line below
{.$UNDEF SUPPORTS_WEAKPACKAGEUNIT}
// History:
// $Log: Jedi.inc,v $
// Revision 1.3 2005/12/30 21:29:55 clootie
// Synchronization with JEDI JCL unit (Delphi2006 additions, etc.)
//
// Revision 1.30 2005/12/04 10:10:58 obones
// Borland Developer Studio 2006 support
//
// Revision 1.29 2005/11/01 20:46:20 obones
// Removed COMPLIB_VCL and COMPLIB_VisualCLX, they are not used and obsolete
//
// Revision 1.28 2005/10/28 04:33:17 rrossmair
// - added BDS and BDSX_UP symbols
//
// Revision 1.27 2005/10/12 21:18:43 ahuser
// Moved comments out of the compiler directives.
//
// Revision 1.26 2005/09/03 15:46:42 marquardt
// new SUPPORTS_ added to description section
//
// Revision 1.25 2005/09/03 15:22:24 rrossmair
// - support for Delphi.NET personality syntax
//
// Revision 1.24 2005/08/22 01:43:02 rrossmair
// - added symbols Win32API, PUREPASCAL, DELPHI2005, DELPHI2005_UP
// - reworked/reformated some comments
//
// Revision 1.23 2005/04/15 08:27:38 marquardt
// introduced SUPPORTS_DISPID for FPC
//
// Revision 1.22 2005/04/07 00:41:35 rrossmair
// - changed for FPC 1.9.8
//
// Revision 1.21 2005/02/22 07:36:46 marquardt
// introduced SUPPORTS_INLINE, minor cleanups in JclRegistry
//
// Revision 1.20 2004/11/18 00:57:13 rrossmair
// - check-in for release 1.93
//
// Revision 1.19 2004/11/06 02:11:20 mthoma
// history cleaning.
//
// Revision 1.18 2004/08/10 02:52:02 rrossmair
// - moved {$ENDIF ~JEDI_INC} to EOF.
//
// Revision 1.17 2004/08/09 06:38:08 peter3
// - D8 support added
// - D9 support added (guesswork)
//
// Revision 1.16 2004/07/29 17:12:28 rrossmair
// fixed comment ("KYLIXX_UP from KYLIXX mappings")
//
// Revision 1.15 2004/07/29 07:58:21 marquardt
// inc files updated
//
// Revision 1.14 2004/06/21 01:10:17 rrossmair
// - $IFDEFed contents (to prevent from repeated inclusion)
// - introduced symbols SUPPORTS_DEPRECATED_WARNINGS, SUPPORTS_LIBRARY_WARNINGS, SUPPORTS_PLATFORM_WARNINGS, SUPPORTS_COMPILETIME_MESSAGES
// - reordered pre-CVS history
//
// Revision 1.13 2004/05/08 08:44:20 rrossmair
// introduced & applied symbol HAS_UNIT_LIBC
//
// Revision 1.12 2004/05/06 05:03:59 rrossmair
// SUPPORTS_ENUMVALUE definition fixed for Free Pascal Compiler
//
// Revision 1.11 2004/05/05 03:20:13 rrossmair
// jedi.inc: moved FPC-incompatible Kylix-related code to separate include file "kylix.inc", disposed of FPC-related TODOs
//
// Revision 1.10 2004/05/01 00:03:59 rrossmair
// FPC workaround removed; didn't work with Kylix
//
// Revision 1.9 2004/04/30 18:25:15 rrossmair
// added symbols BORLAND, CPPBUILDER, BCBCOMPILER
// removed symbol NONBORLAND
// cleanup (reduced redundancy)
// corrected embarrassing typo "widestring's" (for the 3rd time, I believe)
//
// Revision 1.8 2004/04/14 20:26:33 mthoma
// Changed data to date
// Local is Delphi 6 - removed todo comment
// Replaced CLX with VisualCLX to be consistent with Borlands current definition of what "CLX" is.
//
// Revision 1.7 2004/04/06 05:06:12
// add support for Kylix, FPC, RTL, versions, some speaking directives
//
// 2004-03-22,
// - add SUPPORTS_WEAKPACKAGEUNIT
//
// 2004-03-20,
// - add SUPPORTS_LOCAL
//
// 2004-03-18,
// - add SUPPORTS_LONGWORD
//
// 2004-03-16,
// - add HAS_UNIT_STRUTILS
// - add XPLATFORM_RTL
//
// 2003-12-03,
// - add SUPPORTS_ENUMVALUE
//
// 2003-11-14,
// - add SUPPORTS_VARARGS
//
// 2003-10-30,
// - correct and complete comments
// - add Kylix definitions
// - add RTL definitions
// - add FPC definitions
{$ENDIF ~JEDI_INC}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -