* include/_mingw.h: Increment version to 2.0.
* Makefile.in: Ditto. Merge in mingwex branch.
This commit is contained in:
18
winsup/mingw/CRT_fp8.c
Normal file
18
winsup/mingw/CRT_fp8.c
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* CRT_FP8.c
|
||||
*
|
||||
* This forces calls of _fpreset to the MSVCRT function
|
||||
* exported from dll. Effectively it make default
|
||||
* precison same as apps built with MSVC (53-bit mantissa).
|
||||
|
||||
*
|
||||
* To change to 64-bit mantissa, link in CRT_FP10.o before libmingw.a.
|
||||
*/
|
||||
|
||||
/* Link against the _fpreset visible in import lib */
|
||||
|
||||
extern void (*_imp___fpreset)(void) ;
|
||||
void _fpreset (void)
|
||||
{ (*_imp___fpreset)(); }
|
||||
|
||||
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
|
Reference in New Issue
Block a user