Use WIN32_MEAN_AND_LEAN/Windows.h include for freetype-loader implementation

This commit is contained in:
KitsuneAlex 2024-05-16 01:56:26 +02:00
parent b7246c4f4a
commit 4ed56eb4ca
No known key found for this signature in database
GPG Key ID: 6B0CE864BB69B7D0
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
#define MSDFGEN_WINDOWS
#include <libloaderapi.h>
#define WIN32_MEAN_AND_LEAN
#include <Windows.h>
#else
#include <dlfcn.h>
#endif