OSDN Git Service

* include/windows.h (ole2.h): #include if !__OBJC__ and
authordannysmith <dannysmith>
Sun, 9 Jun 2002 03:37:19 +0000 (03:37 +0000)
committerdannysmith <dannysmith>
Sun, 9 Jun 2002 03:37:19 +0000 (03:37 +0000)
__GNUC__ >=3 and !WIN32_LEAN_AND_MEAN.

winsup/w32api/ChangeLog
winsup/w32api/include/windows.h

index 414db2e..b8ecf41 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-08  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/windows.h (ole2.h): #include if !__OBJC__ and
+       __GNUC__ >=3 and !WIN32_LEAN_AND_MEAN.
+
 2002-06-07  Gunnar Degnbol <gdegnbol@users.sourceforge.net>
 
        * include/mapi.h: Change LPTSTR to LPSTR throughout.
index 6934a86..a1e5c3d 100644 (file)
 #include <winsock.h>
 #endif /*  (_WIN32_WINNT >= 0x0400) */
 #endif
+#if !defined (__OBJC__)
+#if  __GNUC__ >= 3  /* what about Watcom? */
+#include <ole2.h>
+#endif
+#endif /* __OBJC__ */
 #endif /* WIN32_LEAN_AND_MEAN */
 
 #endif /* RC_INVOKED */