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

Tkinter work under Cygwin.  Accepted on faith & reasonableness.
This commit is contained in:
Tim Peters 2000-10-05 19:24:26 +00:00
parent 293b03f73f
commit 98dc065c1b
2 changed files with 6 additions and 1 deletions

View File

@ -57,7 +57,7 @@ Copyright (C) 1994 Steen Lumholt.
#include <Menus.h>
#endif
#if !defined(MS_WINDOWS)
#if !(defined(MS_WINDOWS) || defined(__CYGWIN__))
#define HAVE_CREATEFILEHANDLER
#endif

View File

@ -22,8 +22,13 @@
const struct filedescr _PyImport_DynLoadFiletab[] = {
#ifdef __CYGWIN__
{".pyd", "rb", C_EXTENSION},
{".dll", "rb", C_EXTENSION},
#else
{".so", "rb", C_EXTENSION},
{"module.so", "rb", C_EXTENSION},
#endif
{0, 0}
};