-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/src/sage/libs/giac/giac.pxd b/src/sage/libs/giac/giac.pxd | ||
index 1d9da88d8d4..d4d5062fba5 100644 | ||
--- a/src/sage/libs/giac/giac.pxd | ||
+++ b/src/sage/libs/giac/giac.pxd | ||
@@ -12,6 +12,11 @@ | ||
from sage.libs.gmp.mpz cimport mpz_t, mpz_set | ||
from libcpp.string cimport string | ||
|
||
+cdef extern from *: | ||
+ """ | ||
+ #define HAVE_TGAMMAF 1 | ||
+ """ | ||
+ | ||
cdef extern from "giac/giac.h" namespace "giac": | ||
cdef cppclass context: | ||
context() | ||
diff --git a/src/sage/libs/giac/misc.h b/src/sage/libs/giac/misc.h | ||
index bee90842f5b..516e31e5da2 100644 | ||
--- a/src/sage/libs/giac/misc.h | ||
+++ b/src/sage/libs/giac/misc.h | ||
@@ -1,5 +1,6 @@ | ||
#ifndef GIACPYMISC_H | ||
#define GIACPYMISC_H | ||
+#define HAVE_TGAMMAF 1 | ||
#include <giac/giac.h> | ||
|
||
#include <fstream> |