Py_Main() must be DL_EXPORT too.
This commit is contained in:
parent
5c3b384a85
commit
9c1201fe39
|
@ -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…
Reference in New Issue