aboutsummaryrefslogtreecommitdiff
path: root/src/platform/windows/win_thread.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2021-07-22 00:57:13 -0700
committerGarrett D'Amore <garrett@damore.org>2021-07-22 00:57:13 -0700
commit9f0fcbd84a6ee3655f55629ed4b01d13647ac0c9 (patch)
treeba850aa64c8ae94f50c093edce2ae44a6e1e7b6a /src/platform/windows/win_thread.c
parentf59f322c796ac81c2dea402d0955f6d3718c7b19 (diff)
downloadnng-9f0fcbd84a6ee3655f55629ed4b01d13647ac0c9.tar.gz
nng-9f0fcbd84a6ee3655f55629ed4b01d13647ac0c9.tar.bz2
nng-9f0fcbd84a6ee3655f55629ed4b01d13647ac0c9.zip
Remove extra wrapper for platform clock support.
Diffstat (limited to 'src/platform/windows/win_thread.c')
-rw-r--r--src/platform/windows/win_thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/windows/win_thread.c b/src/platform/windows/win_thread.c
index c069d3c9..dc9ed12a 100644
--- a/src/platform/windows/win_thread.c
+++ b/src/platform/windows/win_thread.c
@@ -1,5 +1,5 @@
//
-// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -144,7 +144,7 @@ nni_plat_cv_until(nni_plat_cv *cv, nni_time until)
DWORD msec;
BOOL ok;
- now = nni_plat_clock();
+ now = nni_clock();
if (now > until) {
msec = 0;
} else {