Closed Bug 1022 Opened 26 years ago Closed 26 years ago

Only need to include olectl.h in VC6

Categories

(MozillaClassic Graveyard :: Windows FE, defect, P4)

1998-09-04
x86
Windows NT

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: David.R.Gardiner, Assigned: blythe)

Details

The windows include file olectlid.h is included by cmd/wincom/dllcom/pub/lic/dlliface.h Under VC6, the olectlid file actually only includes olectl.h, and as such doesn't need to be separately included. If the file is included, a friendly warning message appears to this effect. This patch should clean this up. RCS file: /cvsroot/mozilla/cmd/wincom/dllcom/public/dlliface.h,v retrieving revision 3.1 diff -u -c -r3.1 dlliface.h *** dlliface.h 1998/03/28 03:16:01 3.1 --- dlliface.h 1998/10/08 01:29:47 *************** *** 30,35 **** --- 30,37 ---- #include <objbase.h> #endif #include <olectl.h> + #if (_MSC_VER < 1200) /* Not required in VC6 */ #include <olectlid.h> + #endif #endif // __DllInterfaces_H -dave
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Thanks for the patch. I'll check it in as soon as the tree opens and is green.
Status: RESOLVED → VERIFIED
marking verified against old code base
You need to log in before you can comment on or make changes to this bug.