X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fpthreads_win32.h;h=b91c0f970c938abe8b465690127be5d79972dae2;hb=bf40ae88bc289fd765a33861cc4bc0853ed483ba;hp=2d4b066e95c4bd502eb8caf7dcb82a0cbc85d6f0;hpb=7aef55b130d95c384b63422807f1848faa9aba5a;p=sbcl.git diff --git a/src/runtime/pthreads_win32.h b/src/runtime/pthreads_win32.h index 2d4b066..b91c0f9 100644 --- a/src/runtime/pthreads_win32.h +++ b/src/runtime/pthreads_win32.h @@ -180,7 +180,10 @@ int pthread_cond_signal(pthread_cond_t *cond); int pthread_cond_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex, const struct timespec * abstime); int pthread_cond_wait(pthread_cond_t * cond, pthread_mutex_t * mutex); -#define ETIMEDOUT 123 //Something +/* some MinGWs seem to include it, others not: */ +#ifndef ETIMEDOUT +# define ETIMEDOUT 123 //Something +#endif int sched_yield();