ref: 69055b9b71576c2ea851f330fc9c71e00bd6f3f3
parent: a748571cbc2dbc342da0a39184414031dce777bc
author: cbagwell <cbagwell>
date: Sat Aug 26 18:38:33 EDT 2000
Adding a define for M_PI_2 for cygwin gcc setups that do not have it.
--- a/src/st.h
+++ b/src/st.h
@@ -379,6 +379,10 @@
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
+#ifndef M_PI_2
+#define M_PI_2 1.57079632679489661923 /* pi/2 */
+#endif
+
/* FIXME: Move to platform header file */
#define READBINARY "rb"