Browse Source

+ Make works with 1.0.10 too

michael 22 years ago
parent
commit
515f170dd0
1 changed files with 6 additions and 1 deletions
  1. 6 1
      rtl/unix/cthreads.pp

+ 6 - 1
rtl/unix/cthreads.pp

@@ -401,10 +401,12 @@ begin
     DoneCriticalSection    :=@CDoneCriticalSection;
     EnterCriticalSection   :=@CEnterCriticalSection;
     LeaveCriticalSection   :=@CLeaveCriticalSection;
+{$ifdef hasthreadvar}
     InitThreadVar          :=@CInitThreadVar;
     RelocateThreadVar      :=@CRelocateThreadVar;
     AllocateThreadVars     :=@CAllocateThreadVars;
     ReleaseThreadVars      :=@CReleaseThreadVars;
+{$endif}    
     end;
   SetThreadManager(CThreadManager,Dummy);
   InitHeapMutexes;
@@ -415,7 +417,10 @@ initialization
 end.
 {
   $Log$
-  Revision 1.1  2003-11-26 20:10:59  michael
+  Revision 1.2  2003-11-27 20:16:59  michael
+  + Make works with 1.0.10 too
+
+  Revision 1.1  2003/11/26 20:10:59  michael
   + New threadmanager implementation
 
   Revision 1.20  2003/11/19 10:54:32  marco