aboutsummaryrefslogtreecommitdiffstats
path: root/test/raytracer
diff options
context:
space:
mode:
Diffstat (limited to 'test/raytracer')
-rw-r--r--test/raytracer/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/raytracer/config.h b/test/raytracer/config.h
index 49361dc5..009c125e 100644
--- a/test/raytracer/config.h
+++ b/test/raytracer/config.h
@@ -5,6 +5,10 @@
#include <stdlib.h>
#include <string.h>
+#ifndef M_PI
+# define M_PI 3.14159265358979323846
+#endif
+
#ifdef SINGLE_PRECISION
typedef float flt;
#else