summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-03-07 15:40:09 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-03-15 09:47:01 +0100
commit3966550ae8198eef2050c24d87dd7a89d1410ded (patch)
tree8fe50f9a6bf4666cf8cf4a16447956e357ecf01e /include
parent0f5f5642a01dc7e8b9bc421ea8712c31e4c43429 (diff)
downloadmupdf-3966550ae8198eef2050c24d87dd7a89d1410ded.tar.xz
Only include pthread library when needed.
Rename HAVE_PTHREADS to HAVE_PTHREAD to match naming of other defines, where the macro is named after the library that is linked.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/helpers/mu-threads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/helpers/mu-threads.h b/include/mupdf/helpers/mu-threads.h
index 77ee0b6c..d1830a44 100644
--- a/include/mupdf/helpers/mu-threads.h
+++ b/include/mupdf/helpers/mu-threads.h
@@ -25,7 +25,7 @@
#if !defined(DISABLE_MUTHREADS)
#if defined(_WIN32) || defined(_WIN64)
#define MU_THREAD_IMPL_TYPE 1
-#elif defined(HAVE_PTHREADS)
+#elif defined(HAVE_PTHREAD)
#define MU_THREAD_IMPL_TYPE 2
#else
#define DISABLE_MUTHREADS