X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=main.c;fp=main.c;h=b7332c5beb00b665ecc65f118c8ee847ed847ef7;hp=4a482fc6b00756074dc4afe5108dd0159acb77a3;hb=a71a81a281923a4dba48a01e1c448d3a44b60bf0;hpb=647f72d2ed554c7e2b1923d485e99d89f3a17825 diff --git a/main.c b/main.c index 4a482fc..b7332c5 100644 --- 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() {