diff options
author | Job Bautista <jobbautista9@protonmail.com> | 2022-06-30 10:49:38 +0800 |
---|---|---|
committer | Job Bautista <jobbautista9@protonmail.com> | 2022-06-30 10:49:38 +0800 |
commit | 2d4950d2ae8cbb8219d97e2e48d02e07bbe1df9e (patch) | |
tree | 6a1ec09aa69706c1bb578784a2cc2bf1e2f11288 /media/libsoundtouch/src/STTypes.h | |
parent | 6056469e41cfc551b672450a092c3b1f0031d347 (diff) | |
download | uxp-2d4950d2ae8cbb8219d97e2e48d02e07bbe1df9e.tar.gz |
Issue #1949 - Part 2: Disable exceptions in soundtouch's STTypes.h.
I don't know how Mozilla was able to build this without defining
ST_NO_EXCEPTION_HANDLING, but looks like we have to do it so that
the compiler doesn't complain about -fno-exceptions
Diffstat (limited to 'media/libsoundtouch/src/STTypes.h')
-rw-r--r-- | media/libsoundtouch/src/STTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libsoundtouch/src/STTypes.h b/media/libsoundtouch/src/STTypes.h index 10ec413855..c823fcfd23 100644 --- a/media/libsoundtouch/src/STTypes.h +++ b/media/libsoundtouch/src/STTypes.h @@ -174,7 +174,7 @@ namespace soundtouch } // 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> |