This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]