summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorDennis Shtatnov <densht@gmail.com>2013-12-22 08:59:51 -0500
committerDennis Shtatnov <densht@gmail.com>2013-12-22 08:59:51 -0500
commit7221faede6e374c8b9cf8bb66cf4ab2cbd28f93b (patch)
tree119094036d9406ea018069bc584691c9b8ae6c4b /java
parent537b2d963f194f44469ac7dac355364e6a5300b0 (diff)
downloadffts-7221faede6e374c8b9cf8bb66cf4ab2cbd28f93b.zip
ffts-7221faede6e374c8b9cf8bb66cf4ab2cbd28f93b.tar.gz
Add Android memory alignment requirement
Diffstat (limited to 'java')
-rw-r--r--java/jni/ffts_jni.c2
1 files changed, 2 insertions, 0 deletions
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 <jni.h>
+#define NEEDS_ALIGNED
+#undef HAVE_DECL_POSIX_MEMALIGN
#else
#include "nz_ac_waikato_ffts_FFTS.h"
#endif
OpenPOWER on IntegriCloud