summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-07 15:32:00 +0000
committerGuido van Rossum <guido@python.org>1998-08-07 15:32:00 +0000
commit4ae3a03af690dcd359a1875da667ecc2b5a002ff (patch)
tree72be76ab6c68e97068627aab3e0f596cc8220aee /PC
parentb677553c7c8de9cafdf662a6b67a2e1b1257406b (diff)
downloadcpython-4ae3a03af690dcd359a1875da667ecc2b5a002ff.tar.gz
For Win32, added pragmas specifying the python15[_d].lib library.
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h
index 68e9c5adfa..4de07eff9d 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -197,6 +197,13 @@ typedef int pid_t;
#ifdef MS_WIN32
+/* 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
+
#define SIZEOF_INT 4
#define SIZEOF_LONG 4