fix build error caused by stupid openssl macro

This commit is contained in:
Arvid Norberg 2011-08-31 20:40:29 +00:00
parent 8f1a811306
commit 864da49dd6
1 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,13 @@ POSSIBILITY OF SUCH DAMAGE.
# include <eh.h>
#endif
#ifdef TORRENT_USE_OPENSSL
// this is a nasty openssl macro
#ifdef set_key
#undef set_key
#endif
#endif
namespace libtorrent
{
struct plugin;