Merge from amd64 branch:
[reactos.git] / reactos / lib / 3rdparty / mingw / CRT_fp10.c
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6
7 void _fpreset (void)
8 {
9 #ifdef __GNUC__
10 __asm__ ("fninit" );
11 #else
12 __asm fninit;
13 #endif
14 }
15
16 #ifdef __GNUC__
17 void __attribute__ ((alias ("_fpreset"))) fpreset(void);
18 #else
19 void fpreset(void) { _fpreset(); }
20 #endif