glibc/math/w_lgamma.c
Szabolcs Nagy bdc5c59214 fix gamma symbol for static linking and new targets
The lgamma compat code is no longer built for !LIBM_SVID_COMPAT targets,
but the legacy gamma, gammaf and gammal symbols should be still defined,
so make them aliases to the non-compat lgamma code.

	* math/w_lgamma.c: New file.
	* math/w_lgammaf.c: New file.
	* math/w_lgammal.c: New file.
2017-10-02 17:33:13 +01:00

11 lines
257 B
C

#include <math-type-macros-double.h>
#include <w_lgamma_template.c>
#if __USE_WRAPPER_TEMPLATE
strong_alias (__lgamma, __gamma)
weak_alias (__gamma, gamma)
# ifdef NO_LONG_DOUBLE
strong_alias (__gamma, __gammal)
weak_alias (__gammal, gammal)
# endif
#endif