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 /util | |
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 'util')
-rw-r--r-- | util/cairo-missing/cairo-missing.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/cairo-missing/cairo-missing.h b/util/cairo-missing/cairo-missing.h index 741b498a8..5d947163f 100644 --- a/util/cairo-missing/cairo-missing.h +++ b/util/cairo-missing/cairo-missing.h @@ -38,7 +38,6 @@ #include <sys/types.h> #ifdef _WIN32 -#define WIN32_LEAN_AND_MEAN #include <windows.h> #if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_) |