mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
e9c1a8c826
PR: ports/125435 Submitted by: Yi-Jheng Lin <yzlin at cs.nctu.edu.tw> Approved by: Amatus <c11h15no2 at yahoo.com> (maintainer)
12 lines
448 B
C
12 lines
448 B
C
--- libguile/numbers.c 2008-07-09 14:50:22.000000000 +0800
|
|
+++ libguile/numbers.c 2008-07-09 14:53:05.000000000 +0800
|
|
@@ -163,7 +163,7 @@
|
|
}
|
|
|
|
#if defined (GUILE_I)
|
|
-#if HAVE_COMPLEX_DOUBLE
|
|
+#if HAVE_COMPLEX_DOUBLE && (HAVE_CLOG || HAVE_CLOG10 || HAVE_CEXP || HAVE_USABLE_CSQRT) && defined (SCM_COMPLEX_VALUE)
|
|
|
|
/* For an SCM object Z which is a complex number (ie. satisfies
|
|
SCM_COMPLEXP), return its value as a C level "complex double". */
|