Py_Main() must be DL_EXPORT too.

This commit is contained in:
Guido van Rossum 1998-12-07 14:28:47 +00:00
parent 5c3b384a85
commit 9c1201fe39
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ PYTHONHOME : alternate <prefix> directory (or <prefix>%c<exec_prefix>).\n\
/* Main program */ /* Main program */
int DL_EXPORT(int)
Py_Main(argc, argv) Py_Main(argc, argv)
int argc; int argc;
char **argv; char **argv;

View file

@ -2,7 +2,7 @@
#include "Python.h" #include "Python.h"
extern int Py_Main(); extern DL_EXPORT(int) Py_Main();
int int
main(argc, argv) main(argc, argv)