freebsd-ports/math/py-numeric/files/patch-Src_umathmodule.c
Thomas Gellekum aef998bd66 Because Python2.3 headers define _POSIX_SOURCE and _XOPEN_SOURCE,
math.h skips acosh and other hyperbolic math functions.

Submitted by:	perky
2003-08-04 11:56:54 +00:00

13 lines
307 B
C

--- 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