diff options
author | Marti <marti.maria@tktbrainpower.com> | 2016-08-23 18:15:54 +0200 |
---|---|---|
committer | Marti <marti.maria@tktbrainpower.com> | 2016-08-23 18:15:54 +0200 |
commit | c964a251268e95c40d170c64c6eb84b594d91de0 (patch) | |
tree | f075d496c2ba4903538d94b737075039cc77a3b4 /include | |
parent | 5ca71a7bc18b6897ab21d815d15e218e204581e2 (diff) | |
download | lcms2-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.h | 3 |
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 |