Staging
v0.5.1
https://github.com/python/cpython
Revision f34e396b18ebbfb5415f0d20b4d5b63374f48cca authored by Mark Dickinson on 04 August 2010, 14:42:13 UTC, committed by Mark Dickinson on 04 August 2010, 14:42:13 UTC
This fixes test_asynchat and test_smtplib failures on OS X.
(Backport of r73182 from trunk.)
1 parent 042cf1a
Raw File
Tip revision: f34e396b18ebbfb5415f0d20b4d5b63374f48cca authored by Mark Dickinson on 04 August 2010, 14:42:13 UTC
Issue #5798: Handle select.poll flag oddities properly on OS X.
Tip revision: f34e396
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI WinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPSTR lpCmdLine,          /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __argv);
}
back to top