From a52989842e8b7d648bc1a0175d69d1182fd3dd6a Mon Sep 17 00:00:00 2001 From: Luca Bacci Date: Sat, 22 Dec 2018 00:48:10 +0100 Subject: [PATCH] Win32: Fix typo on compilation speedup macro define There is a typo, the correct macro to define is WIN32_LEAN_AND_MEAN. After this change must be included in order to use ExtractIconExW(). --- gtk/gtkicontheme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index f1f9c8f074..ccdb7f77a8 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -32,8 +32,9 @@ #ifndef S_ISDIR #define S_ISDIR(mode) ((mode)&_S_IFDIR) #endif -#define WIN32_MEAN_AND_LEAN +#define WIN32_LEAN_AND_MEAN #include +#include #include "win32/gdkwin32.h" #endif /* G_OS_WIN32 */