X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/85ef2ce64f0cc31a063fccea69fdcc7281d51548..9036dab6e8ad5001d2354bb378096f957f8cabd6:/lcorernd.pas diff --git a/lcorernd.pas b/lcorernd.pas index 006f6ce..64759e8 100644 --- a/lcorernd.pas +++ b/lcorernd.pas @@ -132,8 +132,14 @@ implementation {$ifndef nolcorernd} uses - {$ifdef win32}windows,activex,types,{$endif} - {$ifdef unix}baseunix,unix,unixutil,{$endif} + {$ifdef win32}windows,activex,{$endif} + {$ifdef unix} + {$ifdef ver1_0} + linux, + {$else} + baseunix,unix,unixutil, + {$endif} + {$endif} fastmd5,sysutils; {$ifdef unix}{$include unixstuff.inc}{$endif} @@ -145,9 +151,8 @@ type const wordsizeshift=2; wordsize=1 shl wordsizeshift; - - {$if (wordsize <> sizeof(wordtype))}'wordsizeshift must be setcorrectly'{$ifend} - + //wordsize check commented out for d3 compatibility + //{ $if (wordsize <> sizeof(wordtype))}'wordsizeshift must be setcorrectly'{ $ifend} hashsize=sizeof(hashtype); halfhashsize=hashsize div 2; hashdwords=hashsize div wordsize;