fixed definitions of INLINE macros for old gcc
This commit is contained in:
@ -2375,7 +2375,8 @@ static int fnc_setioattr (qse_awk_rtx_t* rtx, const qse_awk_fnc_info_t* fi)
|
||||
}
|
||||
}
|
||||
#if defined(QSE_CHAR_IS_WCHAR)
|
||||
else if (qse_strcasecmp (ptr[1], QSE_T("codepage")) == 0)
|
||||
else if (qse_strcasecmp (ptr[1], QSE_T("codepage")) == 0 ||
|
||||
qse_strcasecmp (ptr[1], QSE_T("encoding")) == 0)
|
||||
{
|
||||
ioattr_t* ioattr;
|
||||
qse_cmgr_t* cmgr;
|
||||
@ -2478,7 +2479,8 @@ static int fnc_getioattr (qse_awk_rtx_t* rtx, const qse_awk_fnc_info_t* fi)
|
||||
}
|
||||
}
|
||||
#if defined(QSE_CHAR_IS_WCHAR)
|
||||
else if (qse_strcasecmp (ptr[1], QSE_T("codepage")) == 0)
|
||||
else if (qse_strcasecmp (ptr[1], QSE_T("codepage")) == 0 ||
|
||||
qse_strcasecmp (ptr[1], QSE_T("encoding")) == 0)
|
||||
{
|
||||
rv = qse_awk_rtx_makestrvalwithstr (rtx, ioattr->cmgr_name);
|
||||
if (rv == QSE_NULL)
|
||||
|
Reference in New Issue
Block a user