Commit b6a1a951 authored by Dennis van Amerongen's avatar Dennis van Amerongen

* include/vlc_threads_funcs.h: add define for ETIMEDOUT on WIN32 and remove...

* include/vlc_threads_funcs.h: add define for ETIMEDOUT on WIN32 and remove return 0 from void function vlc_spin_destroy
parent 66a76416
......@@ -32,6 +32,10 @@
#ifndef _VLC_THREADFUNCS_H_
#define _VLC_THREADFUNCS_H_
#if defined( WIN32 ) && !defined ETIMEDOUT
# define ETIMEDOUT 10060 /* This is the value in winsock.h. */
#endif
/*****************************************************************************
* Function definitions
*****************************************************************************/
......@@ -615,7 +619,6 @@ static inline void vlc_spin_unlock (vlc_spinlock_t *spin)
static inline void vlc_spin_destroy (vlc_spinlock_t *spin)
{
DeleteCriticalSection(spin);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment