summaryrefslogtreecommitdiffstats
path: root/Modules/main.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-07 14:28:47 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-07 14:28:47 (GMT)
commit9c1201fe39c21ecc238daea82460e0ae85ce11f3 (patch)
tree82a1ede124d712f56891ac2293333ea00849d9f0 /Modules/main.c
parent5c3b384a851b5f8f9a4f9a39a6869528d4444658 (diff)
downloadcpython-9c1201fe39c21ecc238daea82460e0ae85ce11f3.zip
cpython-9c1201fe39c21ecc238daea82460e0ae85ce11f3.tar.gz
cpython-9c1201fe39c21ecc238daea82460e0ae85ce11f3.tar.bz2
Py_Main() must be DL_EXPORT too.
Diffstat (limited to 'Modules/main.c')
-rw-r--r--Modules/main.c2
1 files changed, 1 insertions, 1 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;