summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-07 12:36:02 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-07 12:36:02 (GMT)
commit5fb1da76ffd09dc0c0d83cd14434d1bd617e7cb5 (patch)
tree2add47b2cdf2c9063064950631d7d335b22fb39a
parente7d444f7855af80d928ba8ba20f57e59c602e2ac (diff)
downloadcpython-5fb1da76ffd09dc0c0d83cd14434d1bd617e7cb5.zip
cpython-5fb1da76ffd09dc0c0d83cd14434d1bd617e7cb5.tar.gz
cpython-5fb1da76ffd09dc0c0d83cd14434d1bd617e7cb5.tar.bz2
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 f676e3f..9afd9ec 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)