From 19cf4f108c0d2a3739b120472ff61ad9cbbab5b1 Mon Sep 17 00:00:00 2001 From: momoyon Date: Fri, 30 May 2025 01:19:06 +0500 Subject: [PATCH] [commonlib.h] Don't include windows.h if not msvc. --- commonlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commonlib.h b/commonlib.h index fa011ed..c11e0af 100644 --- a/commonlib.h +++ b/commonlib.h @@ -10,7 +10,7 @@ #include #include -#if defined(_WIN32) +#if defined(_WIN32) && defined(_MSC_VER) // NOTE: Don't include unwanted files to speed up compilation #define WIN32_LEAN_AND_MEAN #define NOCOMM -- 2.39.5