//since 0.9.0 the data format has changed.
//  comment this out to disable the support for reading the old format
{$define support08x}

{$define chepersy_align_4}
//{$define chepersy_align_8} //not implemented yet. Do not uncomment.

//uncomment to get comprehensible messages on corrupt data files (slows down)
// in Free Pascal it activates automatically when you switch {$assertions on}
{$define safeloading}

//uncomment to allow chepersy to use the chelinfo unit
//  for adding the line info numbers to the error messages (FreePascal only).
//Your program must be compiled with the -gw key (necessarily without any
//  other -g* keys!)
{$ifdef cpu32}
  {$define use_chelinfo}
{$endif}

//uncomment to use the old class indexing method with a VMT hack.
//  (may be a bit faster but less compatible and reliable)
//{$define oldhacky} //not tested in v0.9 yet!



{$ifdef fpc}  // Free Pascal
//  {$mode delphi}
  {$mode objfpc} //sorry I have to have my own operators now. Which doesn't work in Delphi mode.
  {$macro on}
  {$inline on}
  {$ifdef chepersy_align_4}
    {$packrecords 4} //record and object field alignments
  {$endif}
  {$ifdef chepersy_align_8}
    {$packrecords 8}
  {$endif}
{$else} // Delphi
  >>> Delphi support dropped, sorry.
(*  {$undef use_chelinfo}
  {$ifdef chepersy_align_4}
    {$align 4} //record and object field alignments
  {$endif}
  {$ifdef chepersy_align_8}
    {$align 8}
  {$endif}
  {$define endian_little}
  {$define cpu32} //it is assumed that Delphi supports only intel-win32
  *)
{$endif}
{$longstrings on}
{$minenumsize 4}
{$typeinfo on}




