In debug mode on MS Windows, DLLs are called foo_d.pyd or foo_d.dll.

This commit is contained in:
Guido van Rossum 1998-05-15 20:22:08 +00:00
parent 3d9a0585e1
commit 859b16c847
1 changed files with 5 additions and 0 deletions

View File

@ -106,9 +106,14 @@ typedef int (* APIENTRY dl_funcptr)();
#include <windows.h>
typedef FARPROC dl_funcptr;
#define _DL_FUNCPTR_DEFINED
#ifdef _DEBUG
#define SHORT_EXT "_d.pyd"
#define LONG_EXT "_d.dll"
#else
#define SHORT_EXT ".pyd"
#define LONG_EXT ".dll"
#endif
#endif
#ifdef NeXT
#define DYNAMIC_LINK