mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Py_Main() must be DL_EXPORT too.
This commit is contained in:
parent
5c3b384a85
commit
9c1201fe39
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "Python.h"
|
||||
|
||||
extern int Py_Main();
|
||||
extern DL_EXPORT(int) Py_Main();
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue