X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=sigc%2B%2B%2Fthread.cc;h=a8ed235dc6495b08be6f882c81d5f636fe64310b;hb=4d51fc96b416eb72f8f6e0533745188717da575e;hp=bd1e51a9f69112af0e9ff7cfc5c048a9506b80e2;hpb=6d678c927c0fdce6ec54192829fa5eb06befc704;p=lyx.git diff --git a/sigc++/thread.cc b/sigc++/thread.cc index bd1e51a9f6..a8ed235dc6 100644 --- a/sigc++/thread.cc +++ b/sigc++/thread.cc @@ -53,7 +53,7 @@ Condition::~Condition() int Condition::signal() {return pthread_cond_signal(&cond_);} int Condition::broadcast() {return pthread_cond_broadcast(&cond_);} int Condition::wait(Mutex &m) {return pthread_cond_wait(&cond_,m);} -int Condition::wait(Mutex &m,timespec* spec) +int Condition::wait(Mutex &m,struct timespec* spec) {return pthread_cond_timedwait(&cond_,m,spec);} int Condition::destroy() {return pthread_cond_destroy(&cond_);} @@ -148,8 +148,8 @@ ThreadAttr Thread::Default={0}; #ifdef SIGC_CXX_NAMESPACES -}; -}; +} +} #endif #endif