[newlib-cygwin] Cygwin: Define MSPERSEC and fix USPERSEC comment

Corinna Vinschen corinna@sourceware.org
Mon Feb 12 21:58:00 GMT 2018


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
 {



More information about the Cygwin-cvs mailing list