[
https://issues.apache.org/jira/browse/ZOOKEEPER-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595750#comment-14595750
]
Hudson commented on ZOOKEEPER-2210:
-----------------------------------
SUCCESS: Integrated in ZooKeeper-trunk #2734 (See
[https://builds.apache.org/job/ZooKeeper-trunk/2734/])
ZOOKEEPER-2210: clock_gettime is not available in OS X
(Michi Mutsuzaki via rgs) (rgs:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1686767)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/c/src/zookeeper.c
> clock_gettime is not available in os x
> --------------------------------------
>
> Key: ZOOKEEPER-2210
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2210
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Reporter: Michi Mutsuzaki
> Assignee: Michi Mutsuzaki
> Fix For: 3.5.1, 3.6.0
>
> Attachments: ZOOKEEPER-2210.patch, ZOOKEEPER-2210.patch
>
>
> {noformat}
> src/zookeeper.c:286:9: warning: implicit declaration of function
> 'clock_gettime' is invalid in C99 [-Wimplicit-function-declaration]
> ret = clock_gettime(CLOCK_MONOTONIC, &ts);
> ^
> src/zookeeper.c:286:23: error: use of undeclared identifier 'CLOCK_MONOTONIC'
> ret = clock_gettime(CLOCK_MONOTONIC, &ts);
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)