Files
lazarus-ccr/components/fpspreadsheet/fps.inc

32 lines
1.3 KiB
PHP
Raw Normal View History

{------------------------------------------------------------------------------}
{ Central definition of conditional defines }
{------------------------------------------------------------------------------}
{ In Unix systems, the unit clocale is automatically added to the uses clause
of fpspreadsheet.pas. This unit sets up localization settings needed for
locale-dependent number and date/time formats. However, this adds a dependence
on the C library to the package.
If this is not wanted, define FPS_DONT_USE_CLOCALE. }
{.$DEFINE FPS_DONT_USE_CLOCALE}
{ The next defines activate code duplicated from new compiler versions in case
an old compiler is used. }
{ Numberformats require an extended version of FormatDateTime (in SysUtils)
which is not available before FPC 3.0. Define FPS_FORMATDATETIME if the
compiler used is older. }
{$DEFINE FPS_FORMATDATETIME}
{ fpspreadsheet requires the function VarIsBool which was introduced by
fpc 2.6.4. If an older FPC versions is used define FPS_VARISBOOL. Keep
undefined for the current FPC version. }
{.$DEFINE FPS_VARISBOOL}
{ fpspreadsheet requires some functions from LazUTF8 which were
introduced by Lazarus 1.2. If an older Lazarus version is used define
FPS_LAZUTF8. Keep undefined for the current Lazarus version. }
{.$DEFINE FPS_LAZUTF8}