diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-04-05 14:10:23 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-04-05 14:10:23 -0400 |
commit | efa4948382d39ea1f7e01ff32b217ee4a8e4fc87 (patch) | |
tree | 6e3a2bac8ce2c97b3ebbd60e7d22ef24d72d7375 | |
parent | 003437333779e0042eb3bf87c698e326c5312208 (diff) |
Use system sincos() if available
-rw-r--r-- | tests/hello_world_gles.c | 2 |
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 |