In my project I include JclCompression unit from jcl 2.01.
Compilation ends with error:
  Identifier not found "ULARGE_INTEGER"
in JclBase.pas.

The code defines ULARGE_INTEGER just before the error line, but only if FPC is 
not defined! Why so? Should ULARGE_INTEGER be defined somewhere in fpc 
libraries. Didn't find it.


// Redefinition of ULARGE_INTEGER to relieve dependency on Windows.pas
type
  {$IFNDEF FPC}
  PULARGE_INTEGER = ^ULARGE_INTEGER;
  {$EXTERNALSYM PULARGE_INTEGER}
  ULARGE_INTEGER = record
    case Integer of
    0:
     (LowPart: LongWord;
      HighPart: LongWord);
    1:
     (QuadPart: Int64);
  end;
  {$EXTERNALSYM ULARGE_INTEGER}
  {$ENDIF ~FPC}
  TJclULargeInteger = ULARGE_INTEGER;
  PJclULargeInteger = PULARGE_INTEGER;



Juha Manninen
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to