diff options
Diffstat (limited to 'progs/egl/opengles1/torus.c')
-rw-r--r-- | progs/egl/opengles1/torus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/egl/opengles1/torus.c b/progs/egl/opengles1/torus.c index 8f262b53d6..18ddff3fe4 100644 --- a/progs/egl/opengles1/torus.c +++ b/progs/egl/opengles1/torus.c @@ -17,6 +17,10 @@ #include "eglut.h" +#ifndef M_PI +#define M_PI 3.14159265 +#endif + static const struct { GLenum internalFormat; const char *name; |