Merge pull request #7 from albertw/master

Set CLOCK_MONOTONIC for Solaris
This commit is contained in:
Ori Livneh 2015-07-29 09:57:47 -07:00
commit 5d94d5547b
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@ except AttributeError:
CLOCK_MONOTONIC = 1
elif sys.platform.startswith('freebsd'):
CLOCK_MONOTONIC = 4
elif sys.platform.startswith('sunos5'):
CLOCK_MONOTONIC = 4
elif 'bsd' in sys.platform:
CLOCK_MONOTONIC = 3