Added support for building .so for Android

This commit is contained in:
Ian Bell
2015-09-28 23:41:18 -06:00
parent 43dd7fe8e3
commit 915416d47c
9 changed files with 116 additions and 10 deletions

View File

@@ -13,7 +13,12 @@
#include "Exceptions.h"
#include "crossplatform_shared_ptr.h"
#if !defined(__ISWINDOWS__) && !defined(__powerpc__)
#if defined(__ANDROID__)
// Android doesn't have ftw.h, also doesn't accept not having this file
unsigned long long CalculateDirSize(const std::string &path){
return 0;
}
#elif !defined(__ISWINDOWS__) && !defined(__powerpc__) && !defined(__ANDROID__)
#include <ftw.h>
#include <stdint.h>
#include <iostream>