Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CRT_fp8.c « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d772d759a24fe5f6e6b424b652fc2346fef6b500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);