summaryrefslogtreecommitdiff
path: root/include/mupdf/helpers/mu-threads.h
AgeCommit message (Collapse)Author
2018-03-22Clean up windows ifdefs.Tor Andersson
_WIN32 is always defined on windows (it means the WinAPI is available). _WIN64 is also defined on 64-bit targets. This means the test for defined(_WIN32) || defined(_WIN64) is redundant, since if _WIN64 is defined, then _WIN32 is always also defined. MSC_VER is only defined for MSVC, so split the ifdef sections in include/fitz/system.h into separate MSVC and WIN32 parts so that we can build with MinGW and other non-MSVC compilers on windows.
2017-03-15Only include pthread library when needed.Tor Andersson
Rename HAVE_PTHREADS to HAVE_PTHREAD to match naming of other defines, where the macro is named after the library that is linked.
2016-12-27Strip extraneous blank lines.Tor Andersson
2016-11-23Move threading macros out into a mu-threads helper file.Robin Watts