summaryrefslogtreecommitdiff
path: root/Mac/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/macglue.c3
-rw-r--r--Mac/Python/macmain.c11
2 files changed, 0 insertions, 14 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index e79a64aa29..1f5ce0e84f 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -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
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 90d009379f..e773fd7008 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -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);
}