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 */
int
DL_EXPORT(int)
Py_Main(argc, argv)
int argc;
char **argv;

View File

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