mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
Fix for VC5 builds. Bug 36694. r=kmcclusk, a=brendan
This commit is contained in:
parent
b5ab3d86e3
commit
af71c3262b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user