]> www.git.momoyon.org Git - commonlib.git/commitdiff
[commonlib.h] Don't include windows.h if not msvc.
authormomoyon <momoyon@momoyon.org>
Thu, 29 May 2025 20:19:06 +0000 (01:19 +0500)
committermomoyon <momoyon@momoyon.org>
Thu, 29 May 2025 20:19:06 +0000 (01:19 +0500)
commonlib.h

index fa011ed5943564c549ff488dd7c5f006bced3a2a..c11e0afac09157b6f022b955cbc8850c2ce9f65a 100644 (file)
@@ -10,7 +10,7 @@
 #include <assert.h>\r
 #include <limits.h>\r
 \r
-#if defined(_WIN32)\r
+#if defined(_WIN32) && defined(_MSC_VER)\r
 // NOTE: Don't include unwanted files to speed up compilation\r
 #define WIN32_LEAN_AND_MEAN\r
 #define NOCOMM\r