mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
[CRT] Fix some _CRTIMP
Get rid of the ugly __MINGW_IMP_SYMBOL hacks.
This commit is contained in:
parent
b05cc36208
commit
379957424c
4 changed files with 12 additions and 56 deletions
|
@ -7,7 +7,7 @@
|
|||
#include <sect_attribs.h>
|
||||
#include <internal.h>
|
||||
|
||||
__declspec(dllimport) int __cdecl __lconv_init (void);
|
||||
_CRTIMP int __cdecl __lconv_init (void);
|
||||
|
||||
int mingw_initcharmax = 0;
|
||||
|
||||
|
|
|
@ -4,11 +4,6 @@
|
|||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
|
||||
#undef CRTDLL
|
||||
#ifndef _DLL
|
||||
#define _DLL
|
||||
#endif
|
||||
|
||||
#define SPECIAL_CRTEXE
|
||||
|
||||
#include <oscalls.h>
|
||||
|
@ -25,19 +20,9 @@
|
|||
#endif
|
||||
|
||||
/* Special handling for ARM & ARM64, __winitenv & __initenv aren't present there. */
|
||||
|
||||
#if !defined(__arm__) && !defined(__aarch64__)
|
||||
|
||||
#ifndef __winitenv
|
||||
extern wchar_t *** __MINGW_IMP_SYMBOL(__winitenv);
|
||||
#define __winitenv (* __MINGW_IMP_SYMBOL(__winitenv))
|
||||
#endif
|
||||
|
||||
#ifndef __initenv
|
||||
extern char *** __MINGW_IMP_SYMBOL(__initenv);
|
||||
#define __initenv (* __MINGW_IMP_SYMBOL(__initenv))
|
||||
#endif
|
||||
|
||||
_CRTIMP extern wchar_t** __winitenv;
|
||||
_CRTIMP extern char** __initenv;
|
||||
#endif
|
||||
|
||||
/* Hack, for bug in ld. Will be removed soon. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue