Commit 2c8fd5fa authored by Davi Arnaut's avatar Davi Arnaut

Merge of mysql-5.0-bugteam into mysql-5.1-bugteam.

parents 59323308 b564aa92
...@@ -23,13 +23,21 @@ ...@@ -23,13 +23,21 @@
#ifndef yaSSL_LOCK_HPP #ifndef yaSSL_LOCK_HPP
#define yaSSL_LOCK_HPP #define yaSSL_LOCK_HPP
/*
Visual Studio Source Annotations header (sourceannotations.h) fails
to compile if outside of the global namespace.
*/
#ifdef YASSL_THREAD_SAFE
#ifdef _WIN32
#include <windows.h>
#endif
#endif
namespace yaSSL { namespace yaSSL {
#ifdef YASSL_THREAD_SAFE #ifdef YASSL_THREAD_SAFE
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h>
class Mutex { class Mutex {
CRITICAL_SECTION cs_; CRITICAL_SECTION cs_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment