From: momoyon Date: Thu, 29 May 2025 20:19:06 +0000 (+0500) Subject: [commonlib.h] Don't include windows.h if not msvc. X-Git-Url: https://www.git.momoyon.org/?a=commitdiff_plain;h=19cf4f108c0d2a3739b120472ff61ad9cbbab5b1;p=commonlib.git [commonlib.h] Don't include windows.h if not msvc. --- 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