mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 00:31:27 +00:00
- Fix the last mingw msvc build issues -- just use function forwarders for msvc instead of using gcc alias symbols. Also add msvc assembly to the "fp10" implementation.
svn path=/trunk/; revision=42435
This commit is contained in:
parent
e0699eeea3
commit
cb95320734
2 changed files with 15 additions and 1 deletions
12
reactos/lib/3rdparty/mingw/CRT_fp10.c
vendored
12
reactos/lib/3rdparty/mingw/CRT_fp10.c
vendored
|
@ -5,6 +5,16 @@
|
|||
*/
|
||||
|
||||
void _fpreset (void)
|
||||
{ __asm__ ("fninit" ) ;}
|
||||
{
|
||||
#ifdef __GNUC__
|
||||
__asm__ ("fninit" );
|
||||
#else
|
||||
__asm fninit;
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
|
||||
#else
|
||||
void fpreset(void) { _fpreset(); }
|
||||
#endif
|
||||
|
|
4
reactos/lib/3rdparty/mingw/CRT_fp8.c
vendored
4
reactos/lib/3rdparty/mingw/CRT_fp8.c
vendored
|
@ -8,4 +8,8 @@ extern void (*_imp___fpreset)(void) ;
|
|||
void _fpreset (void)
|
||||
{ (*_imp___fpreset)(); }
|
||||
|
||||
#ifdef __GNUC__
|
||||
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
|
||||
#else
|
||||
void fpreset(void) { _fpreset(); }
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue