From bafb9b22715313ef0049630228a744d7f2c9363b Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 1 Jan 2015 15:10:42 +0100 Subject: win32: add native wrappers for pthread functions Off by default, use --enable-win32-internal-pthreads . This probably still needs a lot more testing. It also won't work on Windows XP. --- wscript | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index e9073d30a8..338ded3638 100644 --- a/wscript +++ b/wscript @@ -124,6 +124,13 @@ main_dependencies = [ 'req': True, 'fmsg': 'Unable to find either POSIX or MinGW-w64 environment, ' \ 'or compiler does not work.', + }, { + 'name': '--win32-internal-pthreads', + 'desc': 'internal pthread wrapper for win32 (Vista+)', + 'deps_neg': [ 'posix' ], + 'deps': [ 'mingw' ], + 'func': check_true, + 'default': 'disable', }, { 'name': 'pthreads', 'desc': 'POSIX threads', -- cgit v1.2.3