tanbro created LOGCXX-462:
-----------------------------

             Summary: MinGW32 compiling error on sleep macro in 
win32/apr_private.h
                 Key: LOGCXX-462
                 URL: https://issues.apache.org/jira/browse/LOGCXX-462
             Project: Log4cxx
          Issue Type: Bug
          Components: Build
         Environment: windows 10 x86_64, MinGW32
            Reporter: tanbro


when compiling, getpass/apr_getpass.c include win32/apr_private.h, then include 
unistd.h if APR_HAVE_UNISTD_H

but APR_HAVE_UNISTD_H is true when mingw32's configuration, so sleep will 
overwrite the oringin sleep function defined in MINGW's unistd.h



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

Reply via email to