mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
dca1739cb8
PR: 14877 Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
15 lines
319 B
Plaintext
15 lines
319 B
Plaintext
--- routines/graphics/periFig.c.orig Sun Dec 13 21:20:36 1998
|
|
+++ routines/graphics/periFig.c Sun Dec 13 21:21:44 1998
|
|
@@ -47,5 +47,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
|
|
|