diff options
author | Guido van Rossum <guido@python.org> | 1998-12-07 14:28:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-07 14:28:47 (GMT) |
commit | 9c1201fe39c21ecc238daea82460e0ae85ce11f3 (patch) | |
tree | 82a1ede124d712f56891ac2293333ea00849d9f0 /Modules/python.c | |
parent | 5c3b384a851b5f8f9a4f9a39a6869528d4444658 (diff) | |
download | cpython-9c1201fe39c21ecc238daea82460e0ae85ce11f3.zip cpython-9c1201fe39c21ecc238daea82460e0ae85ce11f3.tar.gz cpython-9c1201fe39c21ecc238daea82460e0ae85ce11f3.tar.bz2 |
Py_Main() must be DL_EXPORT too.
Diffstat (limited to 'Modules/python.c')
-rw-r--r-- | Modules/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |