Index: ksem.c =================================================================== RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/ksem.c,v retrieving revision 1.7 diff -u -d -r1.7 ksem.c --- ksem.c 2 Aug 2004 10:44:56 -0000 1.7 +++ ksem.c 22 Sep 2004 12:04:20 -0000 @@ -10,6 +10,8 @@ #include "ksem.h" +#ifndef THREAD_SYSTEM_HAS_KSEM + /* * Initialize the just-allocated Ksem. This function is only invoked * by the threading system when a new thread is allocated. @@ -86,3 +88,5 @@ jmutex_destroy(&(sem->mux)); jcondvar_destroy(&(sem->cv)); } + +#endif