From 867d642872b7ae57990ee68618654db24bd346be Mon Sep 17 00:00:00 2001 From: Anthony Nicholls Date: Tue, 5 Nov 2024 18:01:25 +0000 Subject: [PATCH] Javascript: Add warning if CONFIG_BIGNUM is defined --- modules/juce_javascript/juce_javascript.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/juce_javascript/juce_javascript.cpp b/modules/juce_javascript/juce_javascript.cpp index 7a22d8f33c..31efdbd1ca 100644 --- a/modules/juce_javascript/juce_javascript.cpp +++ b/modules/juce_javascript/juce_javascript.cpp @@ -43,6 +43,11 @@ #include "juce_javascript.h" +#ifdef CONFIG_BIGNUM + JUCE_COMPILER_WARNING ("The QuickJS version embedded inside of JUCE does not support the CONFIG_BIGNUM setting.") + #undef CONFIG_BIGNUM +#endif + #define choc juce::detail::choc #include #undef choc