Skip to content

Commit 7221fae

Browse files
committed
Add Android memory alignment requirement
1 parent 537b2d9 commit 7221fae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/jni/ffts_jni.c

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
// the classes ... but we can't build the project without the jni.
3939
#ifdef ANDROID
4040
#include <jni.h>
41+
#define NEEDS_ALIGNED
42+
#undef HAVE_DECL_POSIX_MEMALIGN
4143
#else
4244
#include "nz_ac_waikato_ffts_FFTS.h"
4345
#endif

0 commit comments

Comments
 (0)