mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 11:43:34 +08:00
bdc5c59214
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.
11 lines
257 B
C
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
|