From 7f93875dfe6dbc56d04997cb163e823bf14e2ba4 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 10 Sep 2002 13:54:35 +0000 Subject: [PATCH] Applied patch [ 606713 ] Removes a warning from cygwin build When building using Cygwin+gcc3.1.1 I get the following warning: "src/msw/app.cpp:122:25: warning: shlwapi.h: No such file or directory" (It seems strange to me that it's a warning instead of an error?) The attached patch adds a conditional case for __CYGWIN__ when including shlwapi.h. (I hope I did it the proper way, the #if's regarding build system setup get a bit lengthy at times, I didn't see a shortcut for this however) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/app.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 8f9782d2d1..cfaf7b34e9 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -118,7 +118,8 @@ #endif #if _WIN32_IE >= 0x0300 && \ - (!defined(__MINGW32__) || wxCHECK_W32API_VERSION( 2, 0 )) + (!defined(__MINGW32__) || wxCHECK_W32API_VERSION( 2, 0 )) && \ + !defined(__CYGWIN__) #include #endif -- 2.45.2