summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-08 18:25:43 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-08 18:25:43 (GMT)
commit1a87be142293f398a5f3aa6e7bba887eb6131858 (patch)
treecf98c2d83c877d52cfeb749d91c70be49cf95330 /PC
parent444383039dc41c3ceb954d11f2578951c9896570 (diff)
downloadcpython-1a87be142293f398a5f3aa6e7bba887eb6131858.zip
cpython-1a87be142293f398a5f3aa6e7bba887eb6131858.tar.gz
cpython-1a87be142293f398a5f3aa6e7bba887eb6131858.tar.bz2
Shouldn't include the lib pragma when building python15.dll itself!
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h
index 4de07ef..ceac9a0 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -197,12 +197,14 @@ typedef int pid_t;
#ifdef MS_WIN32
+#ifndef USE_DL_EXPORT
/* So nobody needs to specify the .lib in their Makefile any more */
#ifdef _DEBUG
#pragma comment(lib,"python15_d.lib")
#else
#pragma comment(lib,"python15.lib")
#endif
+#endif /* USE_DL_EXPORT */
#define SIZEOF_INT 4
#define SIZEOF_LONG 4