+added platform dependent macros for emscripten.
This commit is contained in:
parent
fb6d76fe9a
commit
74971e5df7
3
HISTORY
3
HISTORY
@ -1,3 +1,6 @@
|
||||
May. 13 2018
|
||||
Added platform dependent macros for Emscripten
|
||||
|
||||
May. 9 2018
|
||||
Fixed a crash bug in invalid conditional expression with class member, thanks to AaBc for pointing it out
|
||||
Fixed a wrong error with the VAL statement
|
||||
|
@ -30,7 +30,9 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#if defined ARDUINO
|
||||
#if defined __EMSCRIPTEN__
|
||||
# define MB_CP_EMSCRIPTEN
|
||||
#elif defined ARDUINO
|
||||
# define MB_CP_ARDUINO
|
||||
#elif defined __BORLANDC__
|
||||
# define MB_CP_BORLANDC
|
||||
@ -62,7 +64,9 @@ extern "C" {
|
||||
# define MB_CP_UNKNOWN
|
||||
#endif /* Compiler dependent macro */
|
||||
|
||||
#if defined _WIN64
|
||||
#if defined __EMSCRIPTEN__
|
||||
# define MB_OS_HTML
|
||||
#elif defined _WIN64
|
||||
# define MB_OS_WIN
|
||||
# define MB_OS_WIN64
|
||||
#elif defined _WIN32
|
||||
|
Loading…
x
Reference in New Issue
Block a user