summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2018-02-12 21:21:58 +0100
committerCorinna Vinschen <corinna@vinschen.de>2018-02-12 21:21:58 +0100
commit58f72783eec1c15a1d9835ada22c9b003cf41ad9 (patch)
treeca931929f954100a12846efc7a507c8d07a8a6d7
parent283e0137c784ef2915c148633fa966ba7810fe70 (diff)
downloadcygnal-58f72783eec1c15a1d9835ada22c9b003cf41ad9.tar.gz
cygnal-58f72783eec1c15a1d9835ada22c9b003cf41ad9.tar.bz2
cygnal-58f72783eec1c15a1d9835ada22c9b003cf41ad9.zip
Cygwin: Define MSPERSEC and fix USPERSEC comment
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/hires.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/hires.h b/winsup/cygwin/hires.h
index 96010a605..a28efcdd7 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
{