1#include <math_ldbl_opt.h>
2#undef weak_alias
3#define weak_alias(n,a)
4#define USE_AS_COMPAT 1
5#include <math/lgamma-compat.h>
6#undef LGAMMA_OLD_VER
7#define LGAMMA_OLD_VER LONG_DOUBLE_COMPAT_VERSION
8#include <math/w_lgamma_compatl.c>
9#if GAMMA_ALIAS
10long_double_symbol (libm, __gammal, gammal);
11#endif
12

source code of glibc/sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c