From 70ae8bf26fbbac58900237b815ce86c01d09eb96 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 18 May 2010 10:22:57 -0600 Subject: progs/egl: Fix building on cygwin. Update the Makefiles to use variables such as EGL_LIB_NAME. Define M_PI if it hasn't been defined yet. --- progs/egl/opengles1/pbuffer.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'progs/egl/opengles1/pbuffer.c') diff --git a/progs/egl/opengles1/pbuffer.c b/progs/egl/opengles1/pbuffer.c index 60f864445a..1b4dbb666f 100644 --- a/progs/egl/opengles1/pbuffer.c +++ b/progs/egl/opengles1/pbuffer.c @@ -22,6 +22,9 @@ #include +#ifndef M_PI +#define M_PI 3.14159265 +#endif static int WinWidth = 300, WinHeight = 300; -- cgit v1.2.3