* include/_mingw.h:  Define GCC system_header only if PCC is not defined.
        * include/stdlib.h:  Fix a long-standing typo which prevented correct use of
        the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
        is included before <ctype.h>.
This commit is contained in:
Chris Sutcliffe
2011-05-23 01:01:18 +00:00
parent ec2b3046a1
commit ecf22d8044
3 changed files with 11 additions and 2 deletions

View File

@ -117,10 +117,10 @@ __MINGW_IMPORT char** __argv_dll;
#else /* ! __DECLSPEC_SUPPORTED */
# ifdef __MSVCRT__
extern int* _imp____mbcur_max;
extern int* _imp____mb_cur_max;
# define MB_CUR_MAX (*_imp____mb_cur_max)
# else /* not __MSVCRT */
extern int* _imp____mbcur_max_dll;
extern int* _imp____mb_cur_max_dll;
# define MB_CUR_MAX (*_imp____mb_cur_max_dll)
# endif /* not __MSVCRT */
#endif /* __DECLSPEC_SUPPORTED */