fixed that lcorernd would not compile if nolcorernd is defined, but should
[lcore.git] / lcorernd.pas
index 6f1fe4877cc44df1b1bd3333a423f14d66fff4d0..b43530551e21bddfc7571d7c38183a0b10d8ea74 100644 (file)
@@ -145,6 +145,13 @@ uses
     {$endif}\r
   {$endif}\r
   fastmd5,sysutils;\r
+{$endif}\r
+\r
+const\r
+  wordsizeshift=2;\r
+  wordsize=1 shl wordsizeshift;\r
+\r
+{$ifndef nolcorernd}\r
 \r
 {$ifdef unix}{$include unixstuff.inc}{$endif}\r
 \r
@@ -170,8 +177,6 @@ type
   hashtype=tmd5;\r
 \r
 const\r
-  wordsizeshift=2;\r
-  wordsize=1 shl wordsizeshift;\r
   //wordsize check commented out for d3 compatibility\r
   //{ $if (wordsize <> sizeof(wordtype))}'wordsizeshift must be setcorrectly'{ $ifend}\r
   hashsize=sizeof(hashtype);\r