From 3317419d1aa620af3d246fd4e3506d046be23173 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Mon, 12 Aug 2002 23:33:10 +0000 Subject: * include/commdlg.h: Don't include COM headers if __OBJC__. --- winsup/w32api/ChangeLog | 5 +++++ winsup/w32api/include/commdlg.h | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 86c4f6184..a3b1a3f4f 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2002-08-13 Danny Smith + + * include/commdlg.h: Don't include COM headers or use + COM-dependent symbols if __OBJC__. + 2002-08-13 Danny Smith * include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey): diff --git a/winsup/w32api/include/commdlg.h b/winsup/w32api/include/commdlg.h index 254171c5e..f6ae226e0 100644 --- a/winsup/w32api/include/commdlg.h +++ b/winsup/w32api/include/commdlg.h @@ -436,7 +436,7 @@ typedef struct tagPDW { HANDLE hPrintTemplate; HANDLE hSetupTemplate; } PRINTDLGW,*LPPRINTDLGW; -#if (WINVER >= 0x0500) +#if (WINVER >= 0x0500) && !defined (__OBJC__) #include /* for LPUNKNOWN */ #include /* for HPROPSHEETPAGE */ typedef struct tagPRINTPAGERANGE { @@ -510,7 +510,7 @@ BOOL WINAPI PrintDlgA(LPPRINTDLGA); BOOL WINAPI PrintDlgW(LPPRINTDLGW); HWND WINAPI ReplaceTextA(LPFINDREPLACEA); HWND WINAPI ReplaceTextW(LPFINDREPLACEW); -#if (WINVER >= 0x0500) +#if (WINVER >= 0x0500) && !defined (__OBJC__) HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA); HRESULT WINAPI PrintDlgExW(LPPRINTDLGEXW); #endif /* WINVER >= 0x0500 */ @@ -539,7 +539,7 @@ typedef PRINTDLGW PRINTDLG,*LPPRINTDLG; #define PageSetupDlg PageSetupDlgW #define PrintDlg PrintDlgW #define ReplaceText ReplaceTextW -#if (WINVER >= 0x0500) +#if (WINVER >= 0x0500) && !defined (__OBJC__) typedef PRINTDLGEXW PRINTDLGEX, *LPPRINTDLGEX; #define PrintDlgEx PrintDlgExW #endif /* WINVER >= 0x0500 */ @@ -567,7 +567,7 @@ typedef PRINTDLGA PRINTDLG,*LPPRINTDLG; #define PageSetupDlg PageSetupDlgA #define PrintDlg PrintDlgA #define ReplaceText ReplaceTextA -#if (WINVER >= 0x0500) +#if (WINVER >= 0x0500) && !defined (__OBJC__) typedef PRINTDLGEXA PRINTDLGEX, *LPPRINTDLGEX; #define PrintDlgEx PrintDlgExA #endif /* WINVER >= 0x0500 */ -- cgit v1.2.3