diff options
author | wm4 <wm4@nowhere> | 2015-01-01 15:10:42 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-01 15:10:42 +0100 |
commit | bafb9b22715313ef0049630228a744d7f2c9363b (patch) | |
tree | a1bd25023be5840467291dbe9876dd7c30bc2034 /wscript | |
parent | 64b6b2ea458f679ec0370878b1e54b2b1822c4b1 (diff) | |
download | mpv-bafb9b22715313ef0049630228a744d7f2c9363b.tar.bz2 mpv-bafb9b22715313ef0049630228a744d7f2c9363b.tar.xz |
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.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -125,6 +125,13 @@ main_dependencies = [ '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', 'func': check_pthreads, |