mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-22 20:33:10 +09:00
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
13 lines
382 B
Diff
13 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>
|
|
|