Browse Source

Also disable pthread_attr_setinheritsched call for BeOS

git-svn-id: trunk@37266 -
pierre 8 years ago
parent
commit
0c7646761f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/unix/cthreads.pp

+ 1 - 1
rtl/unix/cthreads.pp

@@ -361,7 +361,7 @@ Type  PINTRTLEvent = ^TINTRTLEvent;
       writeln('Starting new thread');
 {$endif DEBUG_MT}
       pthread_attr_init(@thread_attr);
-      {$if not defined(HAIKU) and not defined(ANDROID)}
+      {$if not defined(HAIKU)and not defined(BEOS) and not defined(ANDROID)}
       {$if defined (solaris) or defined (netbsd) }
       pthread_attr_setinheritsched(@thread_attr, PTHREAD_INHERIT_SCHED);
       {$else not solaris}