diff options
Diffstat (limited to 'math/lgamma-compat.h')
-rw-r--r-- | math/lgamma-compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/math/lgamma-compat.h b/math/lgamma-compat.h index 189d126882..b7b6b36d16 100644 --- a/math/lgamma-compat.h +++ b/math/lgamma-compat.h @@ -41,7 +41,8 @@ #define HAVE_LGAMMA_COMPAT SHLIB_COMPAT (libm, LGAMMA_OLD_VER, LGAMMA_NEW_VER) /* Whether to build this version at all. */ -#define BUILD_LGAMMA (HAVE_LGAMMA_COMPAT || !USE_AS_COMPAT) +#define BUILD_LGAMMA \ + (LIBM_SVID_COMPAT && (HAVE_LGAMMA_COMPAT || !USE_AS_COMPAT)) /* The name to use for this version. */ #if USE_AS_COMPAT |