summaryrefslogtreecommitdiff
path: root/math/octave/patches/patch-ao
blob: 1b384d606baa3855a4c35113b03da7d536b08492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ao,v 1.1 2009/10/08 16:43:13 dmcmahill Exp $

--- config.h.in.orig	2009-06-24 06:40:14.000000000 +0000
+++ config.h.in	2009-10-08 11:54:19.000000000 +0000
@@ -206,4 +206,8 @@
 #undef HAVE_DECL_TGAMMA
 
+/* Define to 1 if you have the declaration of `tgammaf', and to 0 if you don't.
+   */
+#undef HAVE_DECL_TGAMMAF
+
 /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
    */
@@ -1075,4 +1079,7 @@
 double tgamma (double);
 #endif
+#if HAVE_TGAMMAF && ! HAVE_DECL_TGAMMAF
+float tgammaf (float);
+#endif
 #if defined (__cplusplus)
 }