Skip to content

Commit 880740d

Browse files
committed
rfb: use multicast mutexes on Windows as well
1 parent 13034f8 commit 880740d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rfb/rfb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ typedef struct _rfbScreenInfo
394394
uint16_t mcublen;
395395
rfbBool multicastUseCopyRect; /**< All multicast clients support CopyRect */
396396
sraRegionPtr multicastUpdateRegion;
397-
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
397+
#if defined(LIBVNCSERVER_HAVE_LIBPTHREAD) || defined(LIBVNCSERVER_HAVE_WIN32THREADS)
398398
MUTEX(multicastOutputMutex); /**< Ensures that exactly one thread is sending multicast output */
399399
MUTEX(multicastUpdateMutex); /**< Ensures that exactly one thread is processing a multicast framebuffer update */
400400
MUTEX(multicastSharedMutex); /**< Ensures that exactly one thread is modifying the shared variables

0 commit comments

Comments
 (0)