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:
Rainer Orth 2013-05-24 21:09:01 +00:00 committed by Rainer Orth
parent cb5cb19486
commit 57d6e1b377
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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