projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check for OpenSSL error code for < 0.9.8
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
internal.h
diff --git
a/xmltooling/internal.h
b/xmltooling/internal.h
index
caf1be0
..
bf879f3
100644
(file)
--- 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
#ifdef WIN32
# define _CRT_SECURE_NO_DEPRECATE 1
# define _CRT_NONSTDC_NO_DEPRECATE 1
+# define _SCL_SECURE_NO_WARNINGS 1
#endif
// Export public APIs.
#endif
// Export public APIs.
@@
-131,7
+132,7
@@
namespace xmltooling {
private:
int m_initCount;
private:
int m_initCount;
-
Mutex*
m_lock;
+
std::auto_ptr<Mutex>
m_lock;
std::map<std::string,Mutex*> m_namedLocks;
std::vector<void*> m_libhandles;
ParserPool* m_parserPool;
std::map<std::string,Mutex*> m_namedLocks;
std::vector<void*> m_libhandles;
ParserPool* m_parserPool;