]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/lgamma-compat.h
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / math / lgamma-compat.h
index 189d12688271eefd9ff56456e6c823dd2fcdb895..72010ec20f52a74bb70a751852e199041d10e487 100644 (file)
@@ -1,5 +1,5 @@
 /* ABI compatibility for lgamma functions.
-   Copyright (C) 2015-2017 Free Software Foundation, Inc.
+   Copyright (C) 2015-2022 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #ifndef LGAMMA_COMPAT_H
 #define LGAMMA_COMPAT_H 1
@@ -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