From faa9fcf92c3ff2bc901502cdc2d43cd36920344f Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" Date: Wed, 12 Mar 2008 10:46:41 +0000 Subject: [PATCH] Bug 405256 - "Compile error in nsNativeDragTarget.h with MingW GCC because of missing shobjidl.h" [p=bengt.erik.soderstrom@telia.com (Bengt-Erik Soderstrom) r=bsmedberg a1.9=damons] git-svn-id: svn://10.0.0.236/trunk@247614 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/windows/nsNativeDragTarget.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mozilla/widget/src/windows/nsNativeDragTarget.h b/mozilla/widget/src/windows/nsNativeDragTarget.h index d5adbc01589..4d3eadd61f9 100644 --- a/mozilla/widget/src/windows/nsNativeDragTarget.h +++ b/mozilla/widget/src/windows/nsNativeDragTarget.h @@ -42,9 +42,12 @@ #include "nsIDragSession.h" #include #include -#ifndef WINCE + +#ifndef WINCE #ifndef IDropTargetHelper +#ifndef __MINGW32__ // MingW does not provide shobjidl.h. #include // Vista drag image interfaces +#endif // MingW #endif #endif // WINCE