Ticket #36364: enable_libstdcxx_time_yes.diff
File enable_libstdcxx_time_yes.diff, 516 bytes (added by howarth@…, 12 years ago) |
---|
-
libstdc++-v3/config/os/bsd/darwin/os_defines.h
old new 42 42 // Static initializer macro is buggy in darwin, see libstdc++/51906 43 43 #define _GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC 44 44 45 // Configure checks for nanosleep fail on Darwin, but nanosleep and 46 // sched_yield are always available, so use them. 47 #define _GLIBCXX_USE_NANOSLEEP 1 48 #define _GLIBCXX_USE_SCHED_YIELD 1 49 45 50 #endif