summaryrefslogtreecommitdiffstats
path: root/lib/ffts/java/jni/ffts_jni.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffts/java/jni/ffts_jni.c')
-rw-r--r--lib/ffts/java/jni/ffts_jni.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ffts/java/jni/ffts_jni.c b/lib/ffts/java/jni/ffts_jni.c
index 41fdf76..d044f95 100644
--- a/lib/ffts/java/jni/ffts_jni.c
+++ b/lib/ffts/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
@@ -231,3 +233,5 @@ JNIEXPORT void JNICALL Java_nz_ac_waikato_ffts_FFTS_free
ffts_free(plan);
}
+
+// vim: set autoindent noexpandtab tabstop=3 shiftwidth=3: