Another option is RETAIN_COMPILER_SETTINGS and then calling emscripten_get_compiler_setting(), see settings.js.
On Fri, Apr 10, 2020 at 5:44 AM Benjamin Golinvaux <[email protected]> wrote: > Hello AndrĂ¡s, > > Thanks for your reply. Unfortunately (unless I am missing something), even > though the version can be checked, previous versions (such as the 1.38.47 I > am using) can be used with DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR > set to 0 (or unset) or 1. > > I was hoping for an extra macro available to the C/C++ preprocessor... > > Your tip might be useful in many other situations, though! > > Best > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/8037c6ff-6614-4412-9586-3c802c34609c%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/8037c6ff-6614-4412-9586-3c802c34609c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpQAUEOgFjNqPqygjU73NjKU1O9ROrTAVoomRpe3W8aOuA%40mail.gmail.com.
