4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-08 10:09:32 +08:00
Corinna Vinschen 6845346b71 Cygwin: don't export _feinitialise from newlib
Use the more official fesetenv(FE_DFL_ENV) from _dll_crt0, thus
allowing to drop the _feinitialise declaration from fenv.h.

Provide a no-op _feinitialise in Cygwin as exportable symbol for really
old applications when _feinitialise was called from mainCRTStartup in
crt0.o.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2021-04-14 10:07:15 -04:00

6 lines
212 B
C

/* no-op function as entry point for applications built between
2010-09-11 and 2011-03-16. That's the timeframe of _feinitialise
being called from mainCRTStartup in crt0.o. */
void _feinitialise (void)
{}