summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2014-12-27 19:36:19 +0100
committerPino Toscano <toscano.pino@tiscali.it>2015-01-12 22:20:06 +0100
commit52e775b4d0e59dfb44c22b070f272dbc21014389 (patch)
tree797426979fd2bd7edd92b25d3605ab639b64259d
parentae753a2e59c89636f4f7ab9f3edfca96f30bb5ca (diff)
downloadqtscript-5.4.1.tar.gz
Disable pthread_np.h on BSD w/ GNU libcv5.4.15.4.1
pthread_np.h exists on BSD userlands only, so do not enable it on BSD kernels with GNU libc/userland (e.g. GNU/kFreeBSD). Change-Id: Ic9bb2221531322ce425543c85155cfafc5294c41 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/config.h b/src/3rdparty/javascriptcore/JavaScriptCore/config.h
index 6be10fc..07f76b2 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/config.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/config.h
@@ -53,7 +53,7 @@
#endif
-#if OS(FREEBSD) || OS(OPENBSD)
+#if (OS(FREEBSD) || OS(OPENBSD)) && !defined(__GLIBC__)
#define HAVE_PTHREAD_NP_H 1
#endif