Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5fb1da7

Browse files
committed
NT dlls have .pyd extension instead of .dll
1 parent e7d444f commit 5fb1da7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/importdl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ typedef void (*dl_funcptr)();
6767
#include <windows.h>
6868
typedef FARPROC dl_funcptr;
6969
#define _DL_FUNCPTR_DEFINED
70-
#define SHORT_EXT ".dll"
71-
#define LONG_EXT "module.dll"
70+
#define SHORT_EXT ".pyd"
71+
#define LONG_EXT "module.pyd"
7272
#endif
7373

7474
#if defined(NeXT) || defined(WITH_RLD)

0 commit comments

Comments
 (0)