public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: Define MSPERSEC and fix USPERSEC comment
@ 2018-02-12 21:58 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2018-02-12 21:58 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=58f72783eec1c15a1d9835ada22c9b003cf41ad9
commit 58f72783eec1c15a1d9835ada22c9b003cf41ad9
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Mon Feb 12 21:21:58 2018 +0100
Cygwin: Define MSPERSEC and fix USPERSEC comment
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/hires.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/hires.h b/winsup/cygwin/hires.h
index 96010a6..a28efcd 100644
--- a/winsup/cygwin/hires.h
+++ b/winsup/cygwin/hires.h
@@ -33,8 +33,10 @@ details. */
#define NSPERSEC (1000000000)
/* # of 100ns intervals per second. */
#define NS100PERSEC (10000000)
-/* # of millisecs per second. */
+/* # of microsecs per second. */
#define USPERSEC (1000000)
+/* # of millisecs per second. */
+#define MSPERSEC (1000)
class hires_base
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-12 21:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-12 21:58 [newlib-cygwin] Cygwin: Define MSPERSEC and fix USPERSEC comment Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).