Added unix compatability
This commit is contained in:
@@ -21,7 +21,11 @@
|
||||
*/
|
||||
#include "character_manager.hpp"
|
||||
|
||||
#ifdef __unix__
|
||||
#include "sqlite3.h"
|
||||
#else
|
||||
#include "sqlite3/sqlite3.h"
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
@@ -282,4 +286,4 @@ sqlite3* CharacterManager::SetDatabase(sqlite3* db) {
|
||||
|
||||
sqlite3* CharacterManager::GetDatabase() {
|
||||
return database;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,11 @@
|
||||
#include "singleton.hpp"
|
||||
#include "manager_interface.hpp"
|
||||
|
||||
#ifdef __unix__
|
||||
#include "sqlite3.h"
|
||||
#else
|
||||
#include "sqlite3/sqlite3.h"
|
||||
#endif
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
|
||||
Reference in New Issue
Block a user