mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 21:56:40 +00:00
[MINGW-W64]
- MSVC compatibility fixes. svn path=/trunk/; revision=48142
This commit is contained in:
parent
fc502885bc
commit
d0588d0064
5
reactos/lib/3rdparty/mingw/crtexe.c
vendored
5
reactos/lib/3rdparty/mingw/crtexe.c
vendored
|
@ -20,6 +20,7 @@
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
#include <sect_attribs.h>
|
#include <sect_attribs.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
#include <intrin.h>
|
||||||
|
|
||||||
#ifndef __winitenv
|
#ifndef __winitenv
|
||||||
extern wchar_t *** __MINGW_IMP_SYMBOL(__winitenv);
|
extern wchar_t *** __MINGW_IMP_SYMBOL(__winitenv);
|
||||||
|
@ -51,7 +52,11 @@ extern int * __MINGW_IMP_SYMBOL(_commode);
|
||||||
#define _commode (* __MINGW_IMP_SYMBOL(_commode))
|
#define _commode (* __MINGW_IMP_SYMBOL(_commode))
|
||||||
extern int _dowildcard;
|
extern int _dowildcard;
|
||||||
|
|
||||||
|
#if defined(__GNUC__)
|
||||||
int _MINGW_INSTALL_DEBUG_MATHERR __attribute__((weak)) = 0;
|
int _MINGW_INSTALL_DEBUG_MATHERR __attribute__((weak)) = 0;
|
||||||
|
#else
|
||||||
|
int _MINGW_INSTALL_DEBUG_MATHERR = 0;
|
||||||
|
#endif
|
||||||
extern int __defaultmatherr;
|
extern int __defaultmatherr;
|
||||||
extern _CRTIMP void __cdecl _initterm(_PVFV *, _PVFV *);
|
extern _CRTIMP void __cdecl _initterm(_PVFV *, _PVFV *);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue