]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util_posix.c
update license conditions in armsrc/optimized_cipher.[ch] (#554)
[proxmark3-svn] / client / util_posix.c
index 8f3ed46b6a45c827950dfb377745965ade89e3c7..32158adab3403fa394f1406d40961692ad19425d 100644 (file)
@@ -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>
Impressum, Datenschutz