summaryrefslogtreecommitdiff
path: root/include/lcms2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lcms2.h')
-rw-r--r--include/lcms2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/lcms2.h b/include/lcms2.h
index c595506..1fe0492 100644
--- a/include/lcms2.h
+++ b/include/lcms2.h
@@ -237,6 +237,14 @@ typedef int cmsBool;
# define CMSAPI
#endif
+#ifdef HasTHREADS
+# if HasTHREADS == 1
+# undef CMS_NO_PTHREADS
+# else
+# define CMS_NO_PTHREADS 1
+# endif
+#endif
+
// Some common definitions
#define cmsMAX_PATH 256