NT dlls have .pyd extension instead of .dll
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 @@
 #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)