progs/egl: Fix building on cygwin.
[mesa.git] / progs / egl / opengles1 / pbuffer.c
index 60f864445af233467bc085505ef6cc7e4625510f..1b4dbb666f4cc08786da8715b87ccf3bb61d9d8a 100644 (file)
@@ -22,6 +22,9 @@
 #include <EGL/egl.h>
 
 
+#ifndef M_PI
+#define M_PI 3.14159265
+#endif
 
 static int WinWidth = 300, WinHeight = 300;