Commit 7ca85aa9 authored by Alexandre Julliard's avatar Alexandre Julliard

winmm: Disable system thread if poll() support is missing.

parent a5947ffc
...@@ -116,6 +116,7 @@ static inline void link_timer( WINE_TIMERENTRY *timer ) ...@@ -116,6 +116,7 @@ static inline void link_timer( WINE_TIMERENTRY *timer )
#define MMSYSTIME_MININTERVAL (1) #define MMSYSTIME_MININTERVAL (1)
#define MMSYSTIME_MAXINTERVAL (65535) #define MMSYSTIME_MAXINTERVAL (65535)
#ifdef HAVE_POLL
/************************************************************************** /**************************************************************************
* TIME_MMSysTimeCallback * TIME_MMSysTimeCallback
...@@ -254,6 +255,15 @@ static void TIME_MMTimeStart(void) ...@@ -254,6 +255,15 @@ static void TIME_MMTimeStart(void)
} }
} }
#else /* HAVE_POLL */
static void TIME_MMTimeStart(void)
{
FIXME( "not starting system thread\n" );
}
#endif /* HAVE_POLL */
/************************************************************************** /**************************************************************************
* TIME_MMTimeStop * TIME_MMTimeStop
*/ */
......
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