Skip to content
Snippets Groups Projects
Commit 477fd043 authored by ismail.abloua's avatar ismail.abloua
Browse files

enable / disable usleep macro

parent 3709ea0c
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,13 @@
#include <time.h>
#include <unistd.h>
#define NO_WAIT
#ifdef NO_WAIT
#define uspleep(x) ((void)0)
#else
#define uspleep(x) usleep(x)
#endif
// structure site
typedef struct {
int available_bikes;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment