diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-07-18 19:09:18 +0400 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-07-18 19:09:18 +0400 |
commit | affde4a6b3666f21e346166d42f2414047753e2b (patch) | |
tree | 16ec35ccbdaabd51d14289470244fc129af19e19 /winsup/mingw/CRT_fp8.c | |
parent | ab4b2481529bf4e1c57dc430721b4bfc9cf27f40 (diff) |
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
* CRT_fp10.c: Ditto.
Diffstat (limited to 'winsup/mingw/CRT_fp8.c')
-rw-r--r-- | winsup/mingw/CRT_fp8.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/mingw/CRT_fp8.c b/winsup/mingw/CRT_fp8.c index d772d759a..e9cfbadf6 100644 --- a/winsup/mingw/CRT_fp8.c +++ b/winsup/mingw/CRT_fp8.c @@ -15,4 +15,8 @@ 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 |