summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/PC/config.h b/PC/config.h
index f057a75..9b68373 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -287,8 +287,10 @@ typedef long intptr_t;
#ifdef MS_WIN32
-#ifndef USE_DL_EXPORT
-/* So nobody needs to specify the .lib in their Makefile any more */
+#if !defined(USE_DL_EXPORT) && defined(_MSC_VER)
+/* So nobody using MSVC needs to specify the .lib in their Makefile any
+ more (other compilers will still need to do so, but that's taken care
+ of by the Distutils, so it's not a problem). */
#ifdef _DEBUG
#pragma comment(lib,"python20_d.lib")
#else