summaryrefslogtreecommitdiff
path: root/hrtimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'hrtimer.h')
-rw-r--r--hrtimer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hrtimer.h b/hrtimer.h
index 81d9fcd..d05dfd1 100644
--- a/hrtimer.h
+++ b/hrtimer.h
@@ -22,7 +22,7 @@ public:
{
#if defined(CRYPTOPP_WIN32_AVAILABLE)
return 10000;
-#elif defined(__unix__) || defined(macintosh)
+#elif defined(CRYPTOPP_UNIX_AVAILABLE) || defined(macintosh)
return 1000;
#endif
}