Android build fixes

This commit is contained in:
Chris Cannam
2012-09-09 18:27:30 +01:00
parent a760cff3cc
commit 0e2b395ed2
2 changed files with 6 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
LOCAL_MODULE := rubberband
LOCAL_MODULE_FILENAME := librubberband
LOCAL_C_INCLUDES := $(LOCAL_PATH)/rubberband $(LOCAL_PATH)/rubberband/src
RUBBERBAND_PATH := rubberband
RUBBERBAND_SRC_PATH := $(RUBBERBAND_PATH)/src

View File

@@ -3174,7 +3174,11 @@ FFT::FFT(int size, int debugLevel) :
if (!d) {
std::cerr << "FFT::FFT(" << size << "): ERROR: implementation "
<< impl << " is not compiled in" << std::endl;
#ifndef NO_EXCEPTIONS
throw InvalidImplementation;
#else
abort();
#endif
}
}