OSDN Git Service

Generalise makefile references to subdirectories of lib.
[pf3gnuchains/pf3gnuchains4x.git] / winsup / mingw / CRT_fp8.c
1 /*
2  * CRT_FP8.c
3  *
4  * This forces calls of _fpreset to the MSVCRT function
5  * exported from dll.  Effectively it make default
6  * precison same as apps built with MSVC (53-bit mantissa).
7
8  *
9  * To change to 64-bit mantissa, link in CRT_FP10.o before libmingw.a. 
10  */
11
12 /* Link against the _fpreset visible in import lib */
13
14 extern void (*_imp___fpreset)(void) ;
15 void _fpreset (void)
16 {  (*_imp___fpreset)(); }
17
18 #if defined(__PCC__)
19 void _Pragma("alias _fpreset") fpreset(void);
20 #else
21 void __attribute__ ((alias ("_fpreset"))) fpreset(void);
22 #endif