Build Error on windows machines due to missing/wrong ifdef
----------------------------------------------------------

                 Key: AMQCPP-295
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-295
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Decaf
    Affects Versions: 3.1.3
         Environment: Windows XP, Microsoft Visual Studio 2010 Express Edition
            Reporter: Michael Musenbrock
            Assignee: Timothy Bish


It seems that the ConditionObject::awaitNanos methos in 
decaf/util/concurrent/locks/ReentrantLock.cpp has a missing ifdef-statement 
(HAVE_PTHREAD_H) because even on Windows machines the codeblock with 
pthread_cond_timedwait in it is compiled, and of course fails. In all other 
methods in that sourcefile this call is surrounded by the already mentioned 
ifdef.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to