summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/math.h2
-rw-r--r--math/tgmath.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/math/math.h b/math/math.h
index 16dd0a5bbb..b171978a5c 100644
--- a/math/math.h
+++ b/math/math.h
@@ -108,7 +108,7 @@ __BEGIN_DECLS
#undef __MATHCALL
-#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99
+#if defined __USE_MISC || defined __USE_XOPEN
/* This variable is used by `gamma' and `lgamma'. */
extern int signgam;
#endif
diff --git a/math/tgmath.h b/math/tgmath.h
index aaf0f201c7..50d4d428ee 100644
--- a/math/tgmath.h
+++ b/math/tgmath.h
@@ -345,7 +345,7 @@
/* Error and gamma functions. */
#define erf(Val) __TGMATH_UNARY_REAL_ONLY (Val, erf)
#define erfc(Val) __TGMATH_UNARY_REAL_ONLY (Val, erfc)
-#define gamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, gamma)
+#define tgamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, tgamma)
#define lgamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, lgamma)