blob: e9cfbadf6a11e912f327b7f99fb8d61c9c0e5adb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* 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)(); }
#if defined(__PCC__)
void _Pragma("alias _fpreset") fpreset(void);
#else
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
#endif
|