aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-05-20 10:20:10 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-05-20 10:20:10 -0700
commit3a89259c2451d8a8b3d5524705f8cf2b09fc2a0c (patch)
tree3ff247909a31e305724c399b5beb02c9f845d6ef
parent16d6cb35b4f1a78b1c435999f4081bdc0c566ac8 (diff)
fix life compilation warning
-rw-r--r--tests/life.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/life.c b/tests/life.c
index 4ce8d385..263fa0e6 100644
--- a/tests/life.c
+++ b/tests/life.c
@@ -67,7 +67,9 @@ void game(int w, int h, int i)
i--;
nudge(univ, w, h); // keep it interesting for benchmark
} else {
+#if !__EMSCRIPTEN__
usleep(20000);
+#endif
show(univ, w, h);
}
}