1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

QuickJS: Update header from CHOC upstream, and disable CONFIG_STACK_CHECK

The CONFIG_STACK_CHECK option doesn't work correctly when the QuickJS
engine is initialised on one thread and then later accessed by another
thread, which is a usage pattern implicitly supported by JUCE.
This commit is contained in:
reuk 2025-11-19 11:10:49 +00:00
parent 9715b901a8
commit ef54f013c3
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View file

@ -48,6 +48,8 @@
#undef CONFIG_BIGNUM
#endif
#define CHOC_QUICKJS_NO_STACK_CHECK 1
#define choc juce::detail::choc
#include <juce_javascript/choc/javascript/choc_javascript_QuickJS.h>
#undef choc