Minor changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-02-22 09:32:50 +00:00
parent e541d0bf0c
commit 7c5dc04fd2
4 changed files with 21 additions and 4 deletions

View File

@@ -539,7 +539,8 @@ bool ConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant)
else if (type == "bool")
{
oleVariant.vt = VT_BOOL;
#ifdef __WATCOMC__
// 'bool' required for VC++ 4 apparently
#if defined(__WATCOMC__) || (defined(_MSC_VER) && (_MSC_VER <= 1000))
oleVariant.bool = variant.GetBool();
#else
oleVariant.boolVal = variant.GetBool();

View File

@@ -47,7 +47,7 @@ OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \
all: $(WINPNGLIB)
$(WINPNGLIB): $(OBJECTS)
erase $(WINPNGLIB)
-erase $(WINPNGLIB)
lib @<<
-out:$(WINPNGLIB)
$(OBJECTS)