projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2839f12
)
fix: some compiler warning when the #define is not matching.
author
iceman1001
<iceman@iuse.se>
Mon, 13 Feb 2017 10:03:45 +0000
(11:03 +0100)
committer
iceman1001
<iceman@iuse.se>
Mon, 13 Feb 2017 10:03:45 +0000
(11:03 +0100)
client/sleep.c
patch
|
blob
|
blame
|
history
diff --git
a/client/sleep.c
b/client/sleep.c
index fe397da93cf143a4979452f9843cf08602a89251..6b0717c6bbe033feae14d8dc44def37ab8c6f4ef 100644
(file)
--- a/
client/sleep.c
+++ b/
client/sleep.c
@@
-8,7
+8,7
@@
// platform-independant sleep macros
//-----------------------------------------------------------------------------
// platform-independant sleep macros
//-----------------------------------------------------------------------------
-#ifndef _WIN32
+#ifndef _
_
WIN32
#define _POSIX_C_SOURCE 199309L
#include "sleep.h"
#define _POSIX_C_SOURCE 199309L
#include "sleep.h"
@@
-24,5
+24,4
@@
void nsleep(uint64_t n) {
while (nanosleep(&timeout, &timeout) && errno == EINTR);
}
while (nanosleep(&timeout, &timeout) && errno == EINTR);
}
-#endif // _WIN32
-
+#endif // _WIN32
\ No newline at end of file
Impressum
,
Datenschutz