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/opengles2/tri.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'progs/egl/opengles2/tri.c') diff --git a/progs/egl/opengles2/tri.c b/progs/egl/opengles2/tri.c index 8981d8a7e2..812dbf031e 100644 --- a/progs/egl/opengles2/tri.c +++ b/progs/egl/opengles2/tri.c @@ -29,6 +29,10 @@ #include +#ifndef M_PI +#define M_PI 3.14159265 +#endif + #define FLOAT_TO_FIXED(X) ((X) * 65535.0) -- cgit v1.2.3