Use CLOCK_HIGHRES on Solaris 9
* config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC] (CLOCK_MONOTONIC): Define. From-SVN: r199317
This commit is contained in:
parent
cb5cb19486
commit
57d6e1b377
@ -1,3 +1,8 @@
|
||||
2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
|
||||
(CLOCK_MONOTONIC): Define.
|
||||
|
||||
2013-05-24 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
|
||||
|
@ -35,5 +35,10 @@
|
||||
#define __CORRECT_ISO_CPP_WCHAR_H_PROTO
|
||||
#endif
|
||||
|
||||
/* Solaris 9 uses the non-standard CLOCK_HIGHRES instead. */
|
||||
#ifndef CLOCK_MONOTONIC
|
||||
#define CLOCK_MONOTONIC CLOCK_HIGHRES
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user