aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-07 12:36:02 +0000
committerGuido van Rossum <guido@python.org>1995-01-07 12:36:02 +0000
commit5fb1da76ffd09dc0c0d83cd14434d1bd617e7cb5 (patch)
tree2add47b2cdf2c9063064950631d7d335b22fb39a
parent * Objects/classobject.c: added 5th (function) parameter to (diff)
downloadcpython-5fb1da76ffd09dc0c0d83cd14434d1bd617e7cb5.tar.gz
cpython-5fb1da76ffd09dc0c0d83cd14434d1bd617e7cb5.tar.bz2
cpython-5fb1da76ffd09dc0c0d83cd14434d1bd617e7cb5.zip
NT dlls have .pyd extension instead of .dll
-rw-r--r--Python/importdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index f676e3f2df4..9afd9ec9630 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -67,8 +67,8 @@ typedef void (*dl_funcptr)();
#include <windows.h>
typedef FARPROC dl_funcptr;
#define _DL_FUNCPTR_DEFINED
-#define SHORT_EXT ".dll"
-#define LONG_EXT "module.dll"
+#define SHORT_EXT ".pyd"
+#define LONG_EXT "module.pyd"
#endif
#if defined(NeXT) || defined(WITH_RLD)