+added an "HTML" return value to the os()
function.
This commit is contained in:
parent
08b30667e1
commit
5de031245d
@ -18786,7 +18786,7 @@ _exit:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* EXISTS statement */
|
/* EXISTS statement */
|
||||||
static int _coll_exists(mb_interpreter_t* s, void** l){
|
static int _coll_exists(mb_interpreter_t* s, void** l) {
|
||||||
int result = MB_FUNC_OK;
|
int result = MB_FUNC_OK;
|
||||||
mb_value_t coll;
|
mb_value_t coll;
|
||||||
mb_value_t arg;
|
mb_value_t arg;
|
||||||
|
@ -1218,7 +1218,9 @@ static bool_t _process_parameters(int argc, char* argv[]) {
|
|||||||
** Scripting interfaces
|
** Scripting interfaces
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef MB_OS_WIN
|
#if defined MB_OS_HTML
|
||||||
|
# define _OS "HTML"
|
||||||
|
#elif defined MB_OS_WIN
|
||||||
# define _OS "WINDOWS"
|
# define _OS "WINDOWS"
|
||||||
#elif defined MB_OS_IOS || MB_OS_IOS_SIM
|
#elif defined MB_OS_IOS || MB_OS_IOS_SIM
|
||||||
# define _OS "IOS"
|
# define _OS "IOS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user