apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1529521 - /apr/apr/trunk/include/apr.h.in
Date Sat, 05 Oct 2013 21:21:11 GMT
Author: trawick
Date: Sat Oct  5 21:21:10 2013
New Revision: 1529521

URL: http://svn.apache.org/r1529521
Log:
Don't include windows.h when building for Cygwin.

PR: 55586
Submitted by: Carlo Bramini <carlo.bramix libero.it>
Reviewed by: trawick

Modified:
    apr/apr/trunk/include/apr.h.in

Modified: apr/apr/trunk/include/apr.h.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.h.in?rev=1529521&r1=1529520&r2=1529521&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.h.in (original)
+++ apr/apr/trunk/include/apr.h.in Sat Oct  5 21:21:10 2013
@@ -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.
  */



Mime
View raw message