changeset 1262:4b0aa8429592

VisualAge on OS/2 is missing M_PI in math.h so define it ourselves.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 25 Oct 2011 11:01:19 +0000
parents 61d0c5f84644
children 6b605b0700e8
files os2/dw.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Tue Oct 25 10:51:59 2011 +0000
+++ b/os2/dw.c	Tue Oct 25 11:01:19 2011 +0000
@@ -8660,6 +8660,11 @@
       WinReleasePS(hps);
 }
 
+/* VisualAge doesn't seem to have this */
+#ifndef M_PI
+#define M_PI            3.14159265358979323846
+#endif
+
 /* Draw an arc on a window (preferably a render window).
  * Parameters:
  *       handle: Handle to the window.