forked from Mirrors/wasm3
prefix min and max macros with M3_ to avoid conflicts with the STL (#93)
This reverts the change introduced in b087435
, that made min/max
definitions conditional on !__cplusplus. Since some use cases of wasm3
require its C source files to be compiled with a C++ compiler, that
change resulted in min/max being undefined for WASMM3 source files.
This commit makes min/max macros scoped with m3_ prefix, which
resolves the conflict with min/max member functions defined in the STL
and elsewhere.
Closes #92
extensions
parent
b0874355d7
commit
b41684065c
Loading…
Reference in new issue