+added an "HTML" return value to the os() function.

This commit is contained in:
Wang Renxin 2021-03-02 14:06:08 +08:00
parent 08b30667e1
commit 5de031245d
2 changed files with 4 additions and 2 deletions

View File

@ -1218,7 +1218,9 @@ static bool_t _process_parameters(int argc, char* argv[]) {
** Scripting interfaces
*/
#ifdef MB_OS_WIN
#if defined MB_OS_HTML
# define _OS "HTML"
#elif defined MB_OS_WIN
# define _OS "WINDOWS"
#elif defined MB_OS_IOS || MB_OS_IOS_SIM
# define _OS "IOS"