mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
fix clang compiler warnings
identified in http://www.proxmark.org/forum/viewtopic.php?id=5388
This commit is contained in:
parent
30bb6d6591
commit
ec0872181b
5 changed files with 14 additions and 45 deletions
|
@ -37,8 +37,12 @@ void msleep(uint32_t n) {
|
|||
|
||||
#ifdef __APPLE__
|
||||
|
||||
#ifndef CLOCK_MONOTONIC
|
||||
#define CLOCK_MONOTONIC (1)
|
||||
#endif
|
||||
#ifndef CLOCK_REALTIME
|
||||
#define CLOCK_REALTIME (2)
|
||||
#endif
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <mach/clock.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue