X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2Finternal.h;h=bf879f33810c3843aee98e2ac0632c124547fe1e;hb=588539747b8375445cee895bec294545b4f4902e;hp=caf1be08437eeec50e59e209c1feb141dd70fb1a;hpb=88d66de2aa06a8ad04c94b4f5ae792eb22dd98d1;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/internal.h b/xmltooling/internal.h index caf1be0..bf879f3 100644 --- a/xmltooling/internal.h +++ b/xmltooling/internal.h @@ -28,6 +28,7 @@ #ifdef WIN32 # define _CRT_SECURE_NO_DEPRECATE 1 # define _CRT_NONSTDC_NO_DEPRECATE 1 +# define _SCL_SECURE_NO_WARNINGS 1 #endif // Export public APIs. @@ -131,7 +132,7 @@ namespace xmltooling { private: int m_initCount; - Mutex* m_lock; + std::auto_ptr m_lock; std::map m_namedLocks; std::vector m_libhandles; ParserPool* m_parserPool;