mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Patch #1324762: Change --with-cxx to --with-cxx-main.
This commit is contained in:
parent
15be5ec100
commit
0f48d98b74
6 changed files with 290 additions and 365 deletions
|
|
@ -1,11 +0,0 @@
|
|||
/* Minimal main program -- everything is loaded from the library */
|
||||
|
||||
#include "Python.h"
|
||||
|
||||
extern "C"
|
||||
DL_EXPORT(int) Py_Main( int argc, char *argv[] );
|
||||
|
||||
int main( int argc, char *argv[] )
|
||||
{
|
||||
return Py_Main(argc, argv);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue