Chris Nauroth created ZOOKEEPER-2178:
----------------------------------------

             Summary: 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


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