Implement BG methods for TC and do other fixes

This commit is contained in:
Rochet2
2014-09-13 23:18:53 +03:00
parent 42ffd8aff8
commit 9add43bf2a
5 changed files with 146 additions and 128 deletions

View File

@@ -9,6 +9,8 @@
#include "Common.h"
#include "SharedDefines.h"
#include <unordered_map>
#include <unordered_set>
#ifdef TRINITY
#include "QueryResult.h"
#ifdef CATA
@@ -19,6 +21,17 @@
#include "Database/QueryResult.h"
#endif
// Some dummy includes containing BOOST_VERSION:
// ObjectAccessor.h Config.h Log.h
#ifdef BOOST_VERSION
#define USING_BOOST
#endif
#ifdef USING_BOOST
#include <boost/thread/locks.hpp>
#include <boost/thread/shared_mutex.hpp>
#endif
#ifdef TRINITY
typedef QueryResult ElunaQuery;
#ifndef CATA