summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarti <marti.maria@tktbrainpower.com>2016-08-23 18:15:54 +0200
committerMarti <marti.maria@tktbrainpower.com>2016-08-23 18:15:54 +0200
commitc964a251268e95c40d170c64c6eb84b594d91de0 (patch)
treef075d496c2ba4903538d94b737075039cc77a3b4 /include
parent5ca71a7bc18b6897ab21d815d15e218e204581e2 (diff)
downloadlcms2-c964a251268e95c40d170c64c6eb84b594d91de0.tar.gz
better critical section initialization
Contributed patch from Robin Watts (Artifex). Prevents ApplicationVerifier to complain about the use of static intialization of critical section. Applies only to windows.
Diffstat (limited to 'include')
-rw-r--r--include/lcms2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lcms2.h b/include/lcms2.h
index 739e6e1..b6da91d 100644
--- a/include/lcms2.h
+++ b/include/lcms2.h
@@ -58,6 +58,9 @@
// Uncomment to get rid of pthreads/windows dependency
// #define CMS_NO_PTHREADS 1
+// Uncomment this for special windows mutex initialization (see lcms2_internal.h)
+// #define CMS_RELY_ON_WINDOWS_STATIC_MUTEX_INIT
+
// ********** End of configuration toggles ******************************
// Needed for streams