[CRT] Fix some _CRTIMP

Get rid of the ugly __MINGW_IMP_SYMBOL hacks.
This commit is contained in:
Timo Kreuzer 2021-07-31 17:15:30 +02:00
parent b05cc36208
commit 379957424c
4 changed files with 12 additions and 56 deletions

View file

@ -22,20 +22,10 @@ extern "C" {
#endif /* defined (_DLL) && defined (_M_IX86) */
#endif
#ifndef _mbctype
#ifdef _MSVCRT_
extern unsigned char _mbctype[257];
#else
#define _mbctype (*_imp___mbctype)
extern unsigned char **_imp___mbctype;
#endif
_CRTIMP extern unsigned char _mbctype[257];
#endif
#ifndef _mbcasemap
#ifdef _MSVCRT_
extern unsigned char *_mbcasemap;
#else
#define _mbcasemap (*_imp___mbcasemap)
extern unsigned char **_imp___mbcasemap;
#endif
_CRTIMP extern unsigned char _mbcasemap[257];
#endif
/* CRT stuff */