]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Oops forgot a file
authorizsh@fail0verflow.com <izsh@fail0verflow.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Sat, 20 Feb 2010 00:38:24 +0000 (00:38 +0000)
committerizsh@fail0verflow.com <izsh@fail0verflow.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Sat, 20 Feb 2010 00:38:24 +0000 (00:38 +0000)
client/sleep.h [new file with mode: 0644]

diff --git a/client/sleep.h b/client/sleep.h
new file mode 100644 (file)
index 0000000..1ff4e67
--- /dev/null
@@ -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
+
Impressum, Datenschutz