diff options
author | Guido van Rossum <guido@python.org> | 1998-08-07 15:32:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-08-07 15:32:00 (GMT) |
commit | 446f033e232bef22e7980dbd210a5f284c1a46f5 (patch) | |
tree | eb8627e28543e38f0af214cbdfb31534b42354fe /PC/config.h | |
parent | 2c2f731daf67b998c22d5d3eef73f1302edebf9c (diff) | |
download | cpython-446f033e232bef22e7980dbd210a5f284c1a46f5.zip cpython-446f033e232bef22e7980dbd210a5f284c1a46f5.tar.gz cpython-446f033e232bef22e7980dbd210a5f284c1a46f5.tar.bz2 |
For Win32, added pragmas specifying the python15[_d].lib library.
Diffstat (limited to 'PC/config.h')
-rw-r--r-- | PC/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h index 68e9c5a..4de07ef 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 |