From 16ed8861eb1ab7d03990006457ae8760b47cb713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20D=C3=A4hne?= Date: Wed, 26 Jul 2017 14:14:11 +0200 Subject: [PATCH] X3D importer: Workaround for buggy Android NDK (issue #1361) --- code/FIReader.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/FIReader.cpp b/code/FIReader.cpp index 19d94ed94..981d0b913 100755 --- a/code/FIReader.cpp +++ b/code/FIReader.cpp @@ -45,6 +45,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef ASSIMP_BUILD_NO_X3D_IMPORTER +// Workaround for issue #1361 +// https://github.com/assimp/assimp/issues/1361 +#ifdef __ANDROID__ +#define _GLIBCXX_USE_C99 1 +#endif + #include "FIReader.hpp" #include "Exceptional.h" #include