diff --git a/lib/glthread/cond.h b/lib/glthread/cond.h index f71e627..a9fc699 100644 --- a/lib/glthread/cond.h +++ b/lib/glthread/cond.h @@ -269,7 +269,7 @@ typedef pthread_cond_t gl_cond_t; /* ========================================================================= */ -#if !(USE_POSIX_THREADS || USE_PTH_THREADS || USE_SOLARIS_THREADS || USE_WIN32_THREADS) +#if !(USE_POSIX_THREADS || USE_PTH_THREADS || USE_SOLARIS_THREADS) /* Provide dummy implementation if threads are not supported. */ @@ -285,6 +285,10 @@ typedef int gl_cond_t; #endif +#if USE_WIN32_THREADS +# define ETIMEDOUT WSAETIMEDOUT +#endif + /* ========================================================================= */ /* Macros with built-in error handling. */