summaryrefslogtreecommitdiff
path: root/Modules/python.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-07 14:28:47 +0000
committerGuido van Rossum <guido@python.org>1998-12-07 14:28:47 +0000
commita17ccb1234a05bd80d0e01759776749089b9fc45 (patch)
treef4a711835e1d158ce82aa59e00080db3c168fc17 /Modules/python.c
parenta474ba80e6faf125d53ab475476fb1d0e96accfe (diff)
downloadcpython-a17ccb1234a05bd80d0e01759776749089b9fc45.tar.gz
Py_Main() must be DL_EXPORT too.
Diffstat (limited to 'Modules/python.c')
-rw-r--r--Modules/python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/python.c b/Modules/python.c
index e1a5d29475..d04d1dc321 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)