mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 12:22:34 +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 <windows.h>
|
||||||
#include "nsIImage.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)(
|
typedef BOOL (WINAPI *ALPHABLENDPROC)(
|
||||||
HDC hdcDest,
|
HDC hdcDest,
|
||||||
int nXOriginDest,
|
int nXOriginDest,
|
||||||
|
Loading…
Reference in New Issue
Block a user