summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/main.c2
-rw-r--r--Modules/python.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 757aa77..36b2be9 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -94,7 +94,7 @@ PYTHONHOME : alternate <prefix> directory (or <prefix>%c<exec_prefix>).\n\
/* Main program */
-int
+DL_EXPORT(int)
Py_Main(argc, argv)
int argc;
char **argv;
diff --git a/Modules/python.c b/Modules/python.c
index e1a5d29..d04d1dc 100644
--- a/Modules/python.c
+++ b/Modules/python.c
@@ -2,7 +2,7 @@
#include "Python.h"
-extern int Py_Main();
+extern DL_EXPORT(int) Py_Main();
int
main(argc, argv)