mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-14 09:13:01 -07:00
Oops forgot a file
This commit is contained in:
parent
91c38cf715
commit
cbb03be993
1 changed files with 14 additions and 0 deletions
14
client/sleep.h
Normal file
14
client/sleep.h
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#ifndef SLEEP_H__
|
||||||
|
#define SLEEP_H__
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#include <windows.h>
|
||||||
|
#define sleep(n) Sleep(1000 * n)
|
||||||
|
#define msleep(n) Sleep(n)
|
||||||
|
#else
|
||||||
|
#include <unistd.h>
|
||||||
|
#define msleep(n) usleep(1000 * n)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue