Merge pull request #75 from realm/sk/android-fixes

Fix for object store build issues on Android
This commit is contained in:
Scott Kyle 2016-06-01 09:43:25 -07:00
commit 30f1c83197
3 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@
#include "impl/external_commit_helper.hpp"
#include "impl/realm_coordinator.hpp"
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <sstream>
#include <sys/epoll.h>
@ -36,9 +36,6 @@
#define ANDROID_LOG(...)
#endif
#include <errno.h>
#include <sstream>
using namespace realm;
using namespace realm::_impl;

View File

@ -19,6 +19,7 @@
#include "impl/weak_realm_notifier.hpp"
#include "shared_realm.hpp"
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <android/log.h>

View File

@ -132,6 +132,8 @@ namespace realm {
// Realm after closing it will produce undefined behavior.
void close();
bool is_closed() { return !m_read_only_group && !m_shared_group; }
~Realm();
void init(std::shared_ptr<_impl::RealmCoordinator> coordinator);