mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 752657: switch all uses of sigslot to default to multithreaded (win32 already defaults that way) r=ekr
This commit is contained in:
parent
a73a867478
commit
17c6d540a7
@ -24,6 +24,8 @@ SRCS_IN_OBJDIR = 1
|
||||
|
||||
EXPORTS_NAMESPACES = mtransport
|
||||
|
||||
DEFINES += -DSIGSLOT_USE_POSIX_THREADS=1
|
||||
|
||||
EXPORTS_mtransport = \
|
||||
../dtlsidentity.h \
|
||||
../nricectx.h \
|
||||
|
@ -91,9 +91,6 @@
|
||||
#include <set>
|
||||
#include <stdlib.h>
|
||||
|
||||
// On our copy of sigslot.h, we set single threading as default.
|
||||
#define SIGSLOT_DEFAULT_MT_POLICY single_threaded
|
||||
|
||||
#if defined(SIGSLOT_PURE_ISO) || (!defined(WIN32) && !defined(__GNUG__) && !defined(SIGSLOT_USE_POSIX_THREADS))
|
||||
# define _SIGSLOT_SINGLE_THREADED
|
||||
#elif defined(WIN32)
|
||||
|
@ -162,6 +162,7 @@
|
||||
'HAVE_UINT16_T=1',
|
||||
'HAVE_UINT32_T=1',
|
||||
'HAVE_UINT64_T=1',
|
||||
'SIGSLOT_USE_POSIX_THREADS=1',
|
||||
],
|
||||
|
||||
'cflags_mozilla': [
|
||||
|
@ -40,6 +40,7 @@ DEFINES = \
|
||||
-DINET=1 \
|
||||
-DINET6=1 \
|
||||
-DSCTP_DEBUG=1 \
|
||||
-DSIGSLOT_USE_POSIX_THREADS=1 \
|
||||
$(NULL)
|
||||
|
||||
ifeq ($(OS_TARGET),WINNT)
|
||||
|
Loading…
Reference in New Issue
Block a user