progs/egl: Fix building on cygwin.
[mesa.git] / progs / egl / opengles1 / torus.c
index 8f262b53d6c708f5a09a55e82cf2ac9d02beee62..18ddff3fe4ac3f77ff269ca7b2b85d1bb923abd2 100644 (file)
 
 #include "eglut.h"
 
+#ifndef M_PI
+#define M_PI 3.14159265
+#endif
+
 static const struct {
    GLenum internalFormat;
    const char *name;