Open MemomiAlexCherkashin opened 1 year ago
Yes it is:
But what if the Emscripten version less than 3.1.40
?
The logging function still has underscore prefix, while after & equal 3.1.40
, there are still underscore prefix Legacy/internal name
fail back.
you may use macros I guess:
3.1.4
- The
__EMSCRIPTEN_major__
,__EMSCRIPTEN_minor__
and__EMSCRIPTEN_tiny__
macros are now available via theemscripten/version.h
header file. For the time being, unless you enable-sSTRICT
, these are still also defined directly on the command line. If you use these macros please make sure you includeemscripten/version.h
(oremscripten.h
which indirectly includes it). (#16147)
From Emscripten change log:
So please make appropriate changes for libs/utils/src/Log.cpp