summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorLars Kanis <lars@greiz-reinsdorf.de>2021-08-26 13:38:01 +0200
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-28 18:26:19 +0900
commit7e36b91526fdcd83f8a54f4f1f574c89ed0bedee (patch)
tree1eb8eac694b52c9ef895e693c82a93f1b1464854 /process.c
parentf4b73f77efedf2cea86c77d35892e4377aafaa24 (diff)
downloadruby-7e36b91526fdcd83f8a54f4f1f574c89ed0bedee.tar.gz
Add Windows as a supported OS for Process.clock_gettime [ci skip]
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index d9853e5a95..3193725710 100644
--- a/process.c
+++ b/process.c
@@ -8128,8 +8128,8 @@ ruby_real_ms_time(void)
* The supported constants depends on OS and version.
* Ruby provides following types of +clock_id+ if available.
*
- * [CLOCK_REALTIME] SUSv2 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 2.1, macOS 10.12
- * [CLOCK_MONOTONIC] SUSv3 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 3.4, macOS 10.12
+ * [CLOCK_REALTIME] SUSv2 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 2.1, macOS 10.12, Windows-8/Server-2012
+ * [CLOCK_MONOTONIC] SUSv3 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 3.4, macOS 10.12, Windows-2000
* [CLOCK_PROCESS_CPUTIME_ID] SUSv3 to 4, Linux 2.5.63, FreeBSD 9.3, OpenBSD 5.4, macOS 10.12
* [CLOCK_THREAD_CPUTIME_ID] SUSv3 to 4, Linux 2.5.63, FreeBSD 7.1, OpenBSD 5.4, macOS 10.12
* [CLOCK_VIRTUAL] FreeBSD 3.0, OpenBSD 2.1