diff options
author | Fujii Hironori <Hironori.Fujii@sony.com> | 2023-01-12 06:57:51 +0900 |
---|---|---|
committer | Fujii Hironori <Hironori.Fujii@sony.com> | 2023-01-13 05:47:03 +0900 |
commit | 8520ef522168882b602efa6c322592e0fe56689f (patch) | |
tree | 11451d417183fce2d8235c4f72900473e6e677d1 /src/cairo-time.c | |
parent | 1e0249ae0d2731043798da8616f2980f1c5328cf (diff) | |
download | cairo-8520ef522168882b602efa6c322592e0fe56689f.tar.gz |
Defining Windows version macros in meson.build
WINVER and _WIN32_WINNT macros were defined in each source files and
headers that were including <windows.h>. However, because DirectWrite
requires new Windows API, some files included <windows.h> without the
version macros. This inconsistency sometimes caused troubles.
Define the version macros in meson.build.
Diffstat (limited to 'src/cairo-time.c')
-rw-r--r-- | src/cairo-time.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cairo-time.c b/src/cairo-time.c index c93205908..05b64e157 100644 --- a/src/cairo-time.c +++ b/src/cairo-time.c @@ -62,7 +62,6 @@ _cairo_time_get (void) } #elif _WIN32 -#define WIN32_LEAN_AND_MEAN #include <windows.h> static cairo_always_inline double |