2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* CRT_fp8.c: Add PCC alternative to GCC-specific constructs. * CRT_fp10.c: Ditto.
This commit is contained in:
parent
ab4b248152
commit
affde4a6b3
|
@ -13,4 +13,8 @@
|
||||||
void _fpreset (void)
|
void _fpreset (void)
|
||||||
{ __asm__ ( "fninit" ) ;}
|
{ __asm__ ( "fninit" ) ;}
|
||||||
|
|
||||||
|
#if defined(__PCC__)
|
||||||
|
void _Pragma("alias _fpreset") fpreset(void);
|
||||||
|
#else
|
||||||
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
|
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
|
||||||
|
#endif
|
||||||
|
|
|
@ -15,4 +15,8 @@ extern void (*_imp___fpreset)(void) ;
|
||||||
void _fpreset (void)
|
void _fpreset (void)
|
||||||
{ (*_imp___fpreset)(); }
|
{ (*_imp___fpreset)(); }
|
||||||
|
|
||||||
|
#if defined(__PCC__)
|
||||||
|
void _Pragma("alias _fpreset") fpreset(void);
|
||||||
|
#else
|
||||||
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
|
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
|
||||||
|
|
||||||
|
* CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
|
||||||
|
* CRT_fp10.c: Ditto.
|
||||||
|
|
||||||
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
|
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
|
||||||
|
|
||||||
* cpu_features.c: replace gcc-specific construct with portable alternative
|
* cpu_features.c: replace gcc-specific construct with portable alternative
|
||||||
|
|
Loading…
Reference in New Issue