diff Python/import.c @ 30311:f003e48f562d legacy-trunk

Bug #794140: cygwin builds do not embed The embed2.diff patch solves the user's problem by exporting the missing symbols from the Python core so Python can be embedded in another Cygwin application (well, at lest vim).
author Jason Tishler <jason@tishler.net>
date Thu, 04 Sep 2003 11:59:50 +0000
parents 3b41c633d769
children 651fc8d98d99
line wrap: on
line diff
--- a/Python/import.c	Thu Sep 04 11:04:06 2003 +0000
+++ b/Python/import.c	Thu Sep 04 11:59:50 2003 +0000
@@ -2841,7 +2841,7 @@
 	return err;
 }
 
-void
+PyMODINIT_FUNC
 initimp(void)
 {
 	PyObject *m, *d;