Fix for VC5 builds. Bug 36694. r=kmcclusk, a=brendan

This commit is contained in:
uid408 2000-07-25 03:51:04 +00:00
parent b5ab3d86e3
commit af71c3262b

View File

@ -26,6 +26,20 @@
#include <windows.h>
#include "nsIImage.h"
/* for compatibility with VC++ 5 */
#if !defined(AC_SRC_OVER)
#define AC_SRC_OVER 0x00
#define AC_SRC_ALPHA 0x01
#pragma pack(1)
typedef struct {
BYTE BlendOp;
BYTE BlendFlags;
BYTE SourceConstantAlpha;
BYTE AlphaFormat;
}BLENDFUNCTION;
#pragma pack()
#endif
typedef BOOL (WINAPI *ALPHABLENDPROC)(
HDC hdcDest,
int nXOriginDest,