Files
basilisk55/media/libsoundtouch/mcp-disableexceptions.patch
roytam1 598aa0cea6 import from UXP:
- Issue #1949 - Part 1: Update soundtouch library to 2.3.1. (e98c7b8f)
- Issue #1949 - Part 2: Disable exceptions in soundtouch's STTypes.h. (f170360d)
2022-07-06 10:05:17 +08:00

14 lines
382 B
Diff

diff -u /src/STTypes.h /src/STTypes.h
--- /src/STTypes.h
+++ /src/STTypes.h
@@ -174,7 +174,7 @@
}
// define ST_NO_EXCEPTION_HANDLING switch to disable throwing std exceptions:
-// #define ST_NO_EXCEPTION_HANDLING 1
+#define ST_NO_EXCEPTION_HANDLING 1
#ifdef ST_NO_EXCEPTION_HANDLING
// Exceptions disabled. Throw asserts instead if enabled.
#include <assert.h>