mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-19 14:40:55 +01:00
Check for AlphaBlend() with GetProcAddress() to support older compilation environments like MSVC 6. (Also fixes this portion of the code to run on Win98 and Win95, but much of the rest of cairo-win32-* won't work in that environment) (#3926, Hans Breuer, Christian Biesinger, based on code originally from Mozilla)
Remove WINVER define, since it was there only for AlphaBlend().
This commit is contained in:
parent
c4c1c4db96
commit
48b3a1cacd
1 changed files with 0 additions and 6 deletions
|
|
@ -36,12 +36,6 @@
|
|||
#ifndef CAIRO_WIN32_PRIVATE_H
|
||||
#define CAIRO_WIN32_PRIVATE_H
|
||||
|
||||
/* We depend on various features introduced with Win2k and Win98,
|
||||
* like AlphaBlend. If it turns out to be a problem, we could
|
||||
* use GetProcAddress() to look them up.
|
||||
*/
|
||||
#define WINVER 0x0500
|
||||
|
||||
#include <cairo-win32.h>
|
||||
#include <cairoint.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue