aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/hello_world_gles.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hello_world_gles.c b/tests/hello_world_gles.c
index 2da85b6d..088b9dae 100644
--- a/tests/hello_world_gles.c
+++ b/tests/hello_world_gles.c
@@ -58,12 +58,14 @@
#define VERTICES_PER_TOOTH 34
#define GEAR_VERTEX_STRIDE 6
+#ifndef HAVE_BUILTIN_SINCOS
static void
sincos (double a, double *s, double *c)
{
*s = sin (a);
*c = cos (a);
}
+#endif
/**
* Struct describing the vertices in triangle strip