diff options
Diffstat (limited to 'progs/egl/opengles2/tri.c')
-rw-r--r-- | progs/egl/opengles2/tri.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/egl/opengles2/tri.c b/progs/egl/opengles2/tri.c index 8981d8a7e21..812dbf031e4 100644 --- a/progs/egl/opengles2/tri.c +++ b/progs/egl/opengles2/tri.c @@ -29,6 +29,10 @@ #include <EGL/egl.h> +#ifndef M_PI +#define M_PI 3.14159265 +#endif + #define FLOAT_TO_FIXED(X) ((X) * 65535.0) |