From 7221faede6e374c8b9cf8bb66cf4ab2cbd28f93b Mon Sep 17 00:00:00 2001 From: Dennis Shtatnov Date: Sun, 22 Dec 2013 08:59:51 -0500 Subject: Add Android memory alignment requirement --- java/jni/ffts_jni.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'java/jni/ffts_jni.c') diff --git a/java/jni/ffts_jni.c b/java/jni/ffts_jni.c index 41fdf76..5a7473e 100644 --- a/java/jni/ffts_jni.c +++ b/java/jni/ffts_jni.c @@ -38,6 +38,8 @@ // the classes ... but we can't build the project without the jni. #ifdef ANDROID #include +#define NEEDS_ALIGNED +#undef HAVE_DECL_POSIX_MEMALIGN #else #include "nz_ac_waikato_ffts_FFTS.h" #endif -- cgit v1.1