]> git.pld-linux.org Git - packages/libreoffice.git/blame - openoffice-thread-yield.patch
- DON'T hardcode java paths!
[packages/libreoffice.git] / openoffice-thread-yield.patch
CommitLineData
16ccfcfa 1Index: sal/osl/unx/thread.c
2===================================================================
3RCS file: /cvs/oo/porting/sal/osl/unx/thread.c,v
4retrieving revision 1.21.8.1
5diff -u -p -u -r1.21.8.1 thread.c
6--- sal/osl/unx/thread.c 25 Nov 2002 12:11:18 -0000 1.21.8.1
7+++ sal/osl/unx/thread.c 29 Apr 2003 12:16:53 -0000
8@@ -598,7 +598,9 @@ void SAL_CALL osl_waitThread(const TimeV
9 /*****************************************************************************/
10 void SAL_CALL osl_yieldThread()
11 {
12- sched_yield();
13+#ifndef LINUX
14+ sched_yield();
15+#endif
16 }
17
18 /*****************************************************************************/
This page took 0.045784 seconds and 4 git commands to generate.