]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/util_posix.h
mf plus info with detect sl mode (#695)
[proxmark3-svn] / client / util_posix.h
CommitLineData
ec9c7112 1//-----------------------------------------------------------------------------
2// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
3//
4// This code is licensed to you under the terms of the GNU GPL, version 2 or,
5// at your option, any later version. See the LICENSE.txt file for the text of
6// the license.
7//-----------------------------------------------------------------------------
8// utilities requiring Posix library functions
9//-----------------------------------------------------------------------------
10
11#ifndef UTIL_POSIX_H__
12#define UTIL_POSIX_H__
13
14#include <stdint.h>
15
16#ifdef _WIN32
17# include <windows.h>
18# define sleep(n) Sleep(1000 *(n))
19# define msleep(n) Sleep((n))
20#else
21extern void msleep(uint32_t n); // sleep n milliseconds
22#endif // _WIN32
23
24extern uint64_t msclock(); // a milliseconds clock
25
26#endif
Impressum, Datenschutz