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:
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
|
||||
Reference in New Issue
Block a user