[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566985#comment-14566985
 ] 

Michi Mutsuzaki commented on ZOOKEEPER-2178:
--------------------------------------------

+1 good catch. Thanks Chris!

> Native client fails compilation on Windows.
> -------------------------------------------
>
>                 Key: ZOOKEEPER-2178
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2178
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.5.0
>         Environment: Windows
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.5.1, 3.6.0
>
>         Attachments: ZOOKEEPER-2178.001.patch
>
>
> Due to several recent changes, the native client fails to compile on Windows:
> # ZOOKEEPER-827 (read-only mode) mismatched a function return type between 
> the declaration and definition.
> # ZOOKEEPER-1626 (monotonic clock for tolerance to time adjustments) added an 
> include of unistd.h, which does not exist on Windows.
> # Additionally, ZOOKEEPER-1626 did not implement a code path for accessing 
> the Windows monotonic clock.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to