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:
Thomas Gellekum 2003-08-04 11:56:54 +00:00
parent 9ecf0513f4
commit aef998bd66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86279

View 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