Because Python2.3 headers define _POSIX_SOURCE and _XOPEN_SOURCE,
math.h skips acosh and other hyperbolic math functions. Submitted by: perky
This commit is contained in:
parent
9ecf0513f4
commit
aef998bd66
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86279
1 changed files with 13 additions and 0 deletions
13
math/py-numeric/files/patch-Src_umathmodule.c
Normal file
13
math/py-numeric/files/patch-Src_umathmodule.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- Src/umathmodule.c.orig Sat Aug 2 01:10:09 2003
|
||||
+++ Src/umathmodule.c Sat Aug 2 01:10:43 2003
|
||||
@@ -1,9 +1,9 @@
|
||||
|
||||
+#include <math.h>
|
||||
#include "Python.h"
|
||||
#include "Numeric/arrayobject.h"
|
||||
#include "Numeric/ufuncobject.h"
|
||||
#include "abstract.h"
|
||||
-#include <math.h>
|
||||
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT 8
|
Loading…
Reference in a new issue