Skip to content

Commit 3152e6d

Browse files
Blackhexgithub-actions
authored andcommitted
0009-Cygwin-g-time.patch
1 parent 0afd460 commit 3152e6d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libstdc++-v3/acinclude.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,10 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [
17641764
17651765
case "${target_os}" in
17661766
cygwin*)
1767+
ac_has_clock_monotonic=yes
1768+
ac_has_clock_realtime=yes
17671769
ac_has_nanosleep=yes
1770+
ac_has_sched_yield=yes
17681771
;;
17691772
mingw*)
17701773
ac_has_win32_sleep=yes

libstdc++-v3/configure

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21288,7 +21288,10 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2128821288

2128921289
case "${target_os}" in
2129021290
cygwin*)
21291+
ac_has_clock_monotonic=yes
21292+
ac_has_clock_realtime=yes
2129121293
ac_has_nanosleep=yes
21294+
ac_has_sched_yield=yes
2129221295
;;
2129321296
mingw*)
2129421297
ac_has_win32_sleep=yes

0 commit comments

Comments
 (0)