summaryrefslogtreecommitdiff
path: root/media/libsoundtouch/mcp-disableexceptions.patch
blob: c92d11a86cd960ce43b25660cda53aced2037a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>