Skip to content

Commit

Permalink
Don't include windows.h when building for Cygwin.
Browse files Browse the repository at this point in the history
PR: 55586
Submitted by: Carlo Bramini <carlo.bramix libero.it>
Reviewed by: trawick


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1529521 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
trawick committed Oct 5, 2013
1 parent 27b54f2 commit 7e58c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/apr.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
* or the extern "C" namespace
*/

#if APR_HAVE_WINDOWS_H
#if APR_HAVE_WINDOWS_H && defined(WIN32)
/* If windows.h was already included, our preferences don't matter.
* If not, include a restricted set of windows headers to our tastes.
*/
Expand Down

0 comments on commit 7e58c42

Please sign in to comment.