Kaydet (Commit) 98dc065c authored tarafından Tim Peters's avatar Tim Peters

SF "bug" 115973: patches from Norman Vine so that shared libraries and

Tkinter work under Cygwin.  Accepted on faith & reasonableness.
üst 293b03f7
...@@ -57,7 +57,7 @@ Copyright (C) 1994 Steen Lumholt. ...@@ -57,7 +57,7 @@ Copyright (C) 1994 Steen Lumholt.
#include <Menus.h> #include <Menus.h>
#endif #endif
#if !defined(MS_WINDOWS) #if !(defined(MS_WINDOWS) || defined(__CYGWIN__))
#define HAVE_CREATEFILEHANDLER #define HAVE_CREATEFILEHANDLER
#endif #endif
......
...@@ -22,8 +22,13 @@ ...@@ -22,8 +22,13 @@
const struct filedescr _PyImport_DynLoadFiletab[] = { const struct filedescr _PyImport_DynLoadFiletab[] = {
#ifdef __CYGWIN__
{".pyd", "rb", C_EXTENSION},
{".dll", "rb", C_EXTENSION},
#else
{".so", "rb", C_EXTENSION}, {".so", "rb", C_EXTENSION},
{"module.so", "rb", C_EXTENSION}, {"module.so", "rb", C_EXTENSION},
#endif
{0, 0} {0, 0}
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment