summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
Diffstat (limited to 'waftools')
-rw-r--r--waftools/checks/custom.py1
-rw-r--r--waftools/fragments/pthreads.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py
index fb45d8697c..97bcf9cc5c 100644
--- a/waftools/checks/custom.py
+++ b/waftools/checks/custom.py
@@ -33,7 +33,6 @@ def check_pthreads(ctx, dependency_identifier):
'freebsd': '-D_THREAD_SAFE',
'netbsd': '-D_THREAD_SAFE',
'openbsd': '-D_THREAD_SAFE',
- 'win32': '-DPTW32_STATIC_LIB',
}.get(ctx.env.DEST_OS, '')
libs = ['pthreadGC2', 'pthread']
checkfn = check_cc(fragment=pthreads_program, cflags=platform_cflags)
diff --git a/waftools/fragments/pthreads.c b/waftools/fragments/pthreads.c
index 6702f36f97..84f3d087fb 100644
--- a/waftools/fragments/pthreads.c
+++ b/waftools/fragments/pthreads.c
@@ -2,9 +2,5 @@
static void *func(void *arg) { return arg; }
int main(void) {
pthread_t tid;
-#ifdef PTW32_STATIC_LIB
- pthread_win32_process_attach_np();
- pthread_win32_thread_attach_np();
-#endif
return pthread_create (&tid, 0, func, 0) != 0;
}