mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Removed THINK_C support.
This commit is contained in:
parent
031ac7112f
commit
021da55579
10 changed files with 2 additions and 812 deletions
|
@ -61,9 +61,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <Fonts.h>
|
||||
#include <Menus.h>
|
||||
#include <TextUtils.h>
|
||||
#ifdef THINK_C
|
||||
#include <OSEvents.h> /* For EvQElPtr */
|
||||
#endif
|
||||
#ifdef __MWERKS__
|
||||
#include <SIOUX.h>
|
||||
#endif
|
||||
|
|
|
@ -50,10 +50,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#endif
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef THINK_C
|
||||
#include <console.h>
|
||||
#endif
|
||||
|
||||
#define STARTUP "PythonStartup"
|
||||
|
||||
extern int Py_DebugFlag; /* For parser.c, declared in pythonrun.c */
|
||||
|
@ -89,9 +85,6 @@ no_appearance:
|
|||
static void
|
||||
init_mac_world()
|
||||
{
|
||||
#ifdef THINK_C
|
||||
printf("\n");
|
||||
#else
|
||||
#ifndef TARGET_API_MAC_CARBON
|
||||
/* These aren't needed for carbon */
|
||||
MaxApplZone();
|
||||
|
@ -104,7 +97,6 @@ init_mac_world()
|
|||
#endif
|
||||
InitCursor();
|
||||
init_appearance();
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -541,9 +533,6 @@ PyMac_Exit(status)
|
|||
else
|
||||
SIOUXSettings.autocloseonquit = 1;
|
||||
#endif /* USE_SIOUX */
|
||||
#ifdef THINK_C
|
||||
console_options.pause_atexit = keep;
|
||||
#endif
|
||||
|
||||
exit(status);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue