mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
fix: some compiler warning when the #define is not matching.
This commit is contained in:
parent
2839f12e86
commit
4bf036f226
1 changed files with 2 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
// platform-independant sleep macros
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifndef __WIN32
|
||||
|
||||
#define _POSIX_C_SOURCE 199309L
|
||||
#include "sleep.h"
|
||||
|
@ -24,5 +24,4 @@ void nsleep(uint64_t n) {
|
|||
while (nanosleep(&timeout, &timeout) && errno == EINTR);
|
||||
}
|
||||
|
||||
#endif // _WIN32
|
||||
|
||||
#endif // _WIN32
|
Loading…
Reference in a new issue