Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4901213

Browse files
committed
Removed assorted old ifdefs.
1 parent 80dc66e commit 4901213

2 files changed

Lines changed: 0 additions & 19 deletions

File tree

Mac/Python/macgetargv.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2727

2828
#include <stdlib.h>
2929

30-
#ifndef SystemSevenOrLater
31-
#define SystemSevenOrLater 1
32-
#endif
33-
3430
#include <Types.h>
3531
#include <Files.h>
3632
#include <Events.h>
@@ -48,19 +44,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4844
#include "Python.h"
4945
#include "macglue.h"
5046

51-
#ifdef GENERATINGCFM /* Defined to 0 or 1 in Universal headers */
52-
#define HAVE_UNIVERSAL_HEADERS
53-
#endif
54-
55-
#ifdef SYMANTEC__CFM68K__
56-
#pragma lib_export on
57-
#endif
58-
59-
#ifndef HAVE_UNIVERSAL_HEADERS
60-
#define NewAEEventHandlerProc(x) (x)
61-
#define AEEventHandlerUPP EventHandlerProcPtr
62-
#endif
63-
6447
static int arg_count;
6548
static char *arg_vector[256];
6649
FSSpec PyMac_ApplicationFSSpec;

Mac/mwerks/mwerks_nonshared_config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#define USE_MACSPEECH /* Include macspeech module in core Python */
1515
#define USE_IMG /* Include img modules in core Python */
1616
#define USE_MACCTB /* Include ctb module in core Python */
17-
/* #define USE_STDWIN /* Include stdwin module in core Python */
18-
/* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */
1917
#define USE_TK /* Include _tkinter module in core Python */
2018
#define MAC_TCL /* This *must* be on if USE_TK is on */
2119
/* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */

0 commit comments

Comments
 (0)