mirror of https://github.com/python/cpython
In debug mode on MS Windows, DLLs are called foo_d.pyd or foo_d.dll.
This commit is contained in:
parent
3d9a0585e1
commit
859b16c847
|
@ -106,9 +106,14 @@ typedef int (* APIENTRY dl_funcptr)();
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
typedef FARPROC dl_funcptr;
|
typedef FARPROC dl_funcptr;
|
||||||
#define _DL_FUNCPTR_DEFINED
|
#define _DL_FUNCPTR_DEFINED
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define SHORT_EXT "_d.pyd"
|
||||||
|
#define LONG_EXT "_d.dll"
|
||||||
|
#else
|
||||||
#define SHORT_EXT ".pyd"
|
#define SHORT_EXT ".pyd"
|
||||||
#define LONG_EXT ".dll"
|
#define LONG_EXT ".dll"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NeXT
|
#ifdef NeXT
|
||||||
#define DYNAMIC_LINK
|
#define DYNAMIC_LINK
|
||||||
|
|
Loading…
Reference in New Issue