123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750 |
- {**************************************************************************************************}
- { }
- { The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License");}
- { you may not use this file except in compliance with the License. You may obtain a copy of the }
- { License at http://www.mozilla.org/MPL/ }
- { }
- { Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF }
- { ANY KIND, either express or implied. See the License for the specific language governing rights }
- { and limitations under the License. }
- { }
- { The Original Code is jcl.inc }
- { }
- { The Initial Developer of the Original Code is Marcel van Brakel. }
- { Portions created by Marcel van Brakel are Copyright (C) Marcel van Brakel. }
- { }
- { Contributors: }
- { Marcel van Brakel }
- { Matthias Thoma (mthoma) }
- { Petr Vones }
- { Robert Marquardt (marquardt) }
- { Robert Rossmair (rrossmair) }
- { }
- {**************************************************************************************************}
- { }
- { This include file defines various JCL specific defines. The more generic defines are defined in }
- { the jedi.inc file which is shared with the JEDI VCL. }
- { }
- {**************************************************************************************************}
- { }
- { Last modified: $Date:: $ }
- { Revision: $Rev:: $ }
- { Author: $Author:: $ }
- { }
- {**************************************************************************************************}
- {$BOOLEVAL OFF} // Boolean shortcut evaluation
- {$LONGSTRINGS ON} // Long strings
- {$WRITEABLECONST OFF} // Read-only typed constants
- {$TYPEDADDRESS OFF} // Type checked pointers off
- {$LOCALSYMBOLS ON} // Local symbol information
- {$DEFINITIONINFO ON} // Symbol definition information
- {$REFERENCEINFO ON} // Symbol reference information
- {$I jedi\jedi.inc} // Pull in the JCL/J-VCL shared directives
- {$IFNDEF JEDI_INC}
- ALERT_jedi_inc_incompatible
- // secure against old versions of jedi.inc.
- {$ENDIF ~JEDI_INC}
- {$IFNDEF JCLINSTALL}
- {$IFDEF CLR}
- {----------------------------}
- { BDS }
- {----------------------------}
- {$IFDEF BDS3}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld9.net.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS3}
- {----------------------------}
- {$IFDEF BDS4}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld10.net.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS4}
- {----------------------------}
- {$IFDEF BDS5}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld11.net.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS5}
- {----------------------------}
- {$ELSE ~CLR}
- {----------------------------}
- { C++Builder }
- {----------------------------}
- {$IFDEF BCB5}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jclc5.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BCB5}
- {----------------------------}
- {$IFDEF BCB6}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jclc6.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BCB6}
- {----------------------------}
- { Delphi }
- {----------------------------}
- {$IFDEF DELPHI5}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld5.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF DELPIH5}
- {----------------------------}
- {$IFDEF DELPHI6}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld6.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF DELPIH6}
- {----------------------------}
- {$IFDEF DELPHI7}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld7.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF DELPIH7}
- {----------------------------}
- { BDS }
- {----------------------------}
- // BDS 1 and BDS 2 have the same version numbers for their native compilers
- // no compiler defines are used for BDS 1 and BDS 2
- {$IFDEF BDS1}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- //{$I jclcs1.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS1}
- {----------------------------}
- {$IFDEF BDS2}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- //{$I jcld8.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS2}
- {----------------------------}
- {$IFDEF BDS3}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld9.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS3}
- {----------------------------}
- {$IFDEF BDS4}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld10.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS4}
- {----------------------------}
- {$IFDEF BDS5}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld11.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS5}
- {----------------------------}
- {$IFDEF BDS6}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld12.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS6}
- {----------------------------}
- {$IFDEF BDS7}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld14.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS7}
- {----------------------------}
- {$IFDEF BDS8}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld15.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF BDS8}
- {----------------------------}
- {$IFDEF BDS9}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld16win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld16win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS9}
- {----------------------------}
- {$IFDEF BDS10}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld17win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld17win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS10}
- {----------------------------}
- {$IFDEF BDS11}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld18win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld18win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS11}
- {----------------------------}
- {$IFDEF BDS12}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld19win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld19win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS12}
- {----------------------------}
- {$IFDEF BDS14}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld20win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld20win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS14}
- {----------------------------}
- {$IFDEF BDS15}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld21win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld21win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS15}
- {----------------------------}
- {$IFDEF BDS16}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld22win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld22win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS16}
- {----------------------------}
- {$IFDEF BDS17}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld23win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld23win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS17}
- {----------------------------}
- {$IFDEF BDS18}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld24win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld24win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS18}
- {----------------------------}
- {$IFDEF BDS19}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld25win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld25win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS19}
- {----------------------------}
- {$IFDEF BDS20}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld26win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld26win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS20}
- {----------------------------}
- {$IFDEF BDS21}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld27win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld27win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS21}
- {----------------------------}
- {$IFDEF BDS22}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld28win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld28win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS22}
- {----------------------------}
- {$IFDEF BDS23}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld29win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld29win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS23}
- {----------------------------}
- {$IFDEF BDS37}
- {$IFDEF MSWINDOWS}
- {$IFDEF CPUX86}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld37win32.inc}
- {$ENDIF CPUX86}
- {$IFDEF CPUX64}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jcld37win64.inc}
- {$ENDIF CPUX64}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF MSWINDOWS}
- {$ENDIF BDS37}
- {----------------------------}
- {$IFDEF FPC}
- // This file should be located in directory jcl/source/include
- // It is automatically created by the JCL installer
- // For manual installations, copy and adjust jcl/source/include/jcl.template.inc
- {$I jclfpc.inc}
- {$DEFINE JCL_CONFIGURED}
- {$ENDIF FPC}
- {----------------------------}
- {$ENDIF ~CLR}
- // check configuration
- {$IFNDEF JCL_CONFIGURED}
- {$IFDEF SUPPORTS_COMPILETIME_MESSAGES}
- {$MESSAGE FATAL 'Your Delphi/BCB version is not supported by this JCL version!'}
- {$ELSE ~SUPPORTS_COMPILETIME_MESSAGES}
- 'Your Delphi/BCB version is not supported by this JCL version!'
- {$ENDIF ~SUPPORTS_COMPILETIME_MESSAGES}
- {$ENDIF !JCL_CONFIGURED}
- {$ENDIF ~JCLINSTALL}
- // Math precision selection, mutually exclusive
- {$IFDEF MATH_EXTENDED_PRECISION}
- {$UNDEF MATH_SINGLE_PRECISION}
- {$UNDEF MATH_DOUBLE_PRECISION}
- {$ENDIF}
- {$IFDEF MATH_DOUBLE_PRECISION}
- {$UNDEF MATH_SINGLE_PRECISION}
- {$UNDEF MATH_EXTENDED_PRECISION}
- {$ENDIF}
- {$IFDEF MATH_SINGLE_PRECISION}
- {$UNDEF MATH_DOUBLE_PRECISION}
- {$UNDEF MATH_EXTENDED_PRECISION}
- {$ENDIF}
- {$IFNDEF MATH_EXTENDED_PRECISION}
- {$IFNDEF MATH_DOUBLE_PRECISION}
- {$IFNDEF MATH_SINGLE_PRECISION}
- {$IFDEF FPC}
- {$IFDEF CPU64}
- {$DEFINE MATH_DOUBLE_PRECISION}
- {$ELSE ~CPU64}
- {$DEFINE MATH_EXTENDED_PRECISION}
- {$ENDIF ~CPU64}
- {$ELSE ~FPC}
- {$DEFINE MATH_EXTENDED_PRECISION}
- {$ENDIF ~FPC}
- {$ENDIF}
- {$ENDIF}
- {$ENDIF}
- {$IFDEF MATH_EXTENDED_PRECISION}
- {$IFDEF CPU64}
- {$IFDEF FPC}
- {$MESSAGE FATAL 'FPC does not support extended floating points on x86_64!'}
- {$ENDIF FPC}
- {$ENDIF CPU64}
- {$ENDIF MATH_EXTENDED_PRECISION}
- // PCRE options, mutually exclusive
- {$IFDEF PCRE_STATICLINK}
- {$UNDEF PCRE_LINKDLL}
- {$UNDEF PCRE_LINKONREQUEST}
- {$UNDEF PCRE_RTL}
- {$ENDIF PCRE_STATICLINK}
- {$IFDEF PCRE_LINKDLL}
- {$UNDEF PCRE_LINKONREQUEST}
- {$UNDEF PCRE_RTL}
- {$ENDIF PCRE_LINKDLL}
- {$IFDEF PCRE_LINKONREQUEST}
- {$UNDEF PCRE_RTL}
- {$ENDIF PCRE_LINKONREQUEST}
- {$IFNDEF PCRE_STATICLINK}
- {$IFNDEF PCRE_LINKDLL}
- {$IFNDEF PCRE_LINKONREQUEST}
- {$IFNDEF PCRE_RTL}
- {$DEFINE PCRE_LINKONREQUEST}
- {$ENDIF ~PCRE_RTL}
- {$ENDIF ~PCRE_LINKONREQUEST}
- {$ENDIF ~PCRE_LINKDLL}
- {$ENDIF ~PCRE_STATICLINK}
- {$IFNDEF PCRE_STATICLINK}
- {$IFNDEF PCRE_RTL}
- {$DEFINE PCRE_EXPORT_CDECL}
- {$ENDIF ~PCRE_RTL}
- {$ENDIF ~PCRE_STATICLINK}
- {$IFNDEF PCRE_STATICLINK}
- {$UNDEF PCRE_16}
- {$ENDIF ~PCRE_STATICLINK}
- {$IFNDEF PCRE_8}
- {$IFNDEF PCRE_16}
- {$DEFINE PCRE_RTL}
- {$UNDEF PCRE_STATICLINK}
- {$UNDEF PCRE_LINKDLL}
- {$UNDEF PCRE_LINKONREQUEST}
- {$ENDIF ~PCRE_16}
- {$ENDIF ~PCRE_8}
- {$IFDEF PCRE_8}
- {$IFDEF PCRE_16}
- {$IFDEF PCRE_PREFER_16}
- {$DEFINE JCL_PCRE_16}
- {$ELSE ~PCRE_PREFER_16}
- {$DEFINE JCL_PCRE_8}
- {$ENDIF ~PCRE_PREFER_16}
- {$ELSE ~PCRE_16}
- {$DEFINE JCL_PCRE_8}
- {$ENDIF ~PCRE_16}
- {$ELSE ~PCRE_8}
- {$IFDEF PCRE_16}
- {$DEFINE JCL_PCRE_16}
- {$ENDIF PCRE_16}
- {$ENDIF ~PCRE_8}
- {$IFDEF JCL_PCRE_8}
- {$DEFINE JCL_PCRE}
- {$ENDIF JCL_PCRE_8}
- {$IFDEF JCL_PCRE_16}
- {$DEFINE JCL_PCRE}
- {$ENDIF JCL_PCRE_16}
- // BZip2 options
- {$IFDEF BZIP2_STATICLINK}
- {$UNDEF BZIP2_LINKDLL}
- {$UNDEF BZIP2_LINKONREQUEST}
- {$ENDIF BZIP2_STATICLINK}
- {$IFDEF BZIP2_LINKDLL}
- {$UNDEF BZIP2_LINKONREQUEST}
- {$ENDIF BZIP2_LINKDLL}
- {$IFNDEF BZIP2_STATICLINK}
- {$IFNDEF BZIP2_LINKDLL}
- {$IFNDEF BZIP2_LINKONREQUEST}
- {$DEFINE BZIP2_STATICLINK}
- {$ENDIF ~BZIP2_LINKONREQUEST}
- {$ENDIF ~BZIP2_LINKDLL}
- {$ENDIF ~BZIP2_STATICLINK}
- {$IFDEF BZIP2_STATICLINK}
- {$DEFINE BZIP2_EXPORT_STDCALL}
- {$ENDIF BZIP2_STATICLINK}
- {$IFDEF BZIP2_LINKDLL}
- {$DEFINE BZIP2_EXPORT_CDECL}
- {$ENDIF BZIP2_LINKDLL}
- {$IFDEF BZIP2_LINKONREQUEST}
- {$DEFINE BZIP2_EXPORT_CDECL}
- {$ENDIF BZIP2_LINKONREQUEST}
- // ZLib options
- {$IFDEF ZLIB_STATICLINK}
- {$UNDEF ZLIB_LINKDLL}
- {$UNDEF ZLIB_LINKONREQUEST}
- {$UNDEF ZLIB_RTL}
- {$ENDIF ZLIB_STATICLINK}
- {$IFDEF ZLIB_LINKDLL}
- {$UNDEF ZLIB_LINKONREQUEST}
- {$UNDEF ZLIB_RTL}
- {$ENDIF ZLIB_LINKDLL}
- {$IFDEF ZLIB_LINKONREQUEST}
- {$UNDEF ZLIB_RTL}
- {$ENDIF ZLIB_LINKONREQUEST}
- {$IFNDEF ZLIB_STATICLINK}
- {$IFNDEF ZLIB_LINKDLL}
- {$IFNDEF ZLIB_LINKONREQUEST}
- {$IFNDEF ZLIB_RTL}
- {$DEFINE ZLIB_STATICLINK}
- {$ENDIF ~ZLIB_RTL}
- {$ENDIF ~ZLIB_LINKONREQUEST}
- {$ENDIF ~ZLIB_LINKDLL}
- {$ENDIF ~ZLIB_STATICLINK}
- {$IFDEF ZLIB_LINKDLL}
- {$DEFINE ZLIB_EXPORT_CDECL}
- {$ENDIF ZLIB_LINKDLL}
- {$IFDEF ZLIB_LINKONREQUEST}
- {$DEFINE ZLIB_EXPORT_CDECL}
- {$ENDIF ZLIB_LINKONREQUEST}
- // calling convention for static link is fastcall
- {$IFNDEF HAS_UNIT_CHARACTER}
- {$UNDEF UNICODE_RTL_DATABASE}
- {$ENDIF ~HAS_UNIT_CHARACTER}
- {$IFDEF UNICODE_RAW_DATA}
- {$UNDEF UNICODE_ZLIB_DATA}
- {$UNDEF UNICODE_BZIP2_DATA}
- {$ENDIF UNICODE_RAW_DATA}
- {$IFDEF UNICODE_ZLIB_DATA}
- {$UNDEF UNICODE_RAW_DATA}
- {$UNDEF UNICODE_BZIP2_DATA}
- {$ENDIF UNICODE_ZLIB_DATA}
- {$IFNDEF UNICODE_ZLIB_DATA}
- {$IFNDEF UNICODE_BZIP2_DATA}
- {$DEFINE UNICODE_RAW_DATA}
- {$ENDIF ~UNICODE_BZIP2_DATA}
- {$ENDIF ~UNICODE_ZLIB_DATA}
- {$IFDEF CONTAINER_ANSISTR}
- {$UNDEF CONTAINER_WIDESTR}
- {$UNDEF CONTAINER_UNICODESTR}
- {$UNDEF CONTAINER_NOSTR}
- {$ENDIF CONTAINER_ANSISTR}
- {$IFDEF CONTAINER_WIDESTR}
- {$UNDEF CONTAINER_UNICODESTR}
- {$UNDEF CONTAINER_NOSTR}
- {$ENDIF CONTAINER_WIDESTR}
- {$IFDEF CONTAINER_UNICODESTR}
- {$UNDEF CONTAINER_NOSTR}
- {$ENDIF CONTAINER_UNICODESTR}
- {$IFNDEF CONTAINER_ANSISTR}
- {$IFNDEF CONTAINER_WIDESTR}
- {$IFNDEF CONTAINER_UNICODESTR}
- {$IFNDEF CONTAINER_NOSTR}
- {$IFDEF SUPPORTS_UNICODE_STRING}
- {$DEFINE CONTAINER_UNICODESTR}
- {$ELSE ~SUPPORTS_UNICODE_STRING}
- {$DEFINE CONTAINER_ANSISTR}
- {$ENDIF ~SUPPORTS_UNICODE_STRING}
- {$ENDIF ~CONTAINER_NOSTR}
- {$ENDIF ~CONTAINER_UNICODESTR}
- {$ENDIF ~CONTAINER_WIDESTR}
- {$ENDIF ~CONTAINER_ANSISTR}
- // 7zip options
- {$IFDEF 7ZIP_STATICLINK}
- {$UNDEF 7ZIP_LINKDLL}
- {$UNDEF 7ZIP_LINKONREQUEST}
- {$ENDIF 7ZIP_STATICLINK}
- {$IFDEF 7ZIP_LINKDLL}
- {$UNDEF 7ZIP_LINKONREQUEST}
- {$ENDIF 7ZIP_LINKDLL}
- {$IFNDEF 7ZIP_STATICLINK}
- {$IFNDEF 7ZIP_LINKDLL}
- {$IFNDEF 7ZIP_LINKONREQUEST}
- {$DEFINE 7ZIP_LINKONREQUEST}
- {$ENDIF ~7ZIP_LINKONREQUEST}
- {$ENDIF ~7ZIP_LINKDLL}
- {$ENDIF ~7ZIP_STATICLINK}
- {$IFDEF SUPPORTS_UNSAFE_WARNINGS}
- {$WARN UNSAFE_TYPE OFF}
- {$WARN UNSAFE_CODE OFF}
- {$WARN UNSAFE_CAST OFF}
- {$ENDIF}
- {$IFNDEF DROP_OBSOLETE_CODE}
- {$IFNDEF JCLINSTALL}
- {$DEFINE KEEP_DEPRECATED}
- {$ENDIF}
- {$ENDIF}
- {$IFDEF CLR}
- {$WARN UNSAFE_TYPE ON}
- {$WARN UNSAFE_CODE ON}
- {$WARN UNSAFE_CAST ON}
- {$WARN UNIT_PLATFORM OFF}
- {$DEFINE MSWINDOWS}
- {$DEFINE PIC}
- {$DEFINE PUREPASCAL}
- {$ENDIF CLR}
- // Delphi 2005 has a compiler internal failure when compiling the JCL with UNITVERSIONING enabled
- {$IFDEF DELPHI2005}
- {$UNDEF UNITVERSIONING}
- {$ENDIF DELPHI2005}
- {$IFDEF FPC}
- {$DEFINE DEBUG_NO_TD32}
- {$ENDIF FPC}
|