Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
647f72d
)
forget nanosleep() where it's not supported (eg on Windows)
author
Jason Woofenden
<jason@jasonwoof.com>
Wed, 11 Nov 2009 18:43:41 +0000
(13:43 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Wed, 11 Nov 2009 18:43:41 +0000
(13:43 -0500)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
4a482fc
..
b7332c5
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-137,6
+137,7
@@
extern int optind, opterr, optopt;
// ************************************* FUNCS
+#ifdef nanosleep
void
tiny_sleep() {
struct timespec t;
@@
-144,6
+145,9
@@
tiny_sleep() {
t.tv_nsec = 1;
nanosleep(&t, 0);
}
+#else
+#define tiny_sleep()
+#endif
void
init_engine_dots() {