1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/math/Scilab/files/patch-ac
Steve Price dca1739cb8 Update to version 2.4.1.
PR:		14877
Submitted by:	Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
1999-11-27 01:38:31 +00:00

15 lines
319 B
Plaintext

--- ./routines/graphics/Plo3d.c.orig Sun Dec 13 21:22:37 1998
+++ ./routines/graphics/Plo3d.c Sun Dec 13 21:24:01 1998
@@ -16,5 +16,11 @@
#define M_PI 3.14159265358979323846
#else
+#if defined(HAVE_VALUES_H)
#include <values.h>
+#else
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+#endif
#endif