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

Skip to content

Commit e17fd2a

Browse files
committed
Got rid of __SC__ ifdefs.
1 parent cbf630f commit e17fd2a

3 files changed

Lines changed: 0 additions & 12 deletions

File tree

Mac/Include/macglue.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ typedef struct {
4949
#define HAVE_UNIVERSAL_HEADERS
5050
#endif
5151

52-
#ifdef SYMANTEC__CFM68K__
53-
#pragma lib_export on
54-
#endif
55-
5652
#ifdef USE_GUSI1
5753
void PyMac_FixGUSIcd(void); /* Workaround for GUSI chdir() call */
5854
extern void PyMac_SetGUSISpin(void); /* Install our private GUSI spin routine */

Mac/Modules/macmodule.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,7 @@ struct dirent * readdir(DIR *);
105105
int rmdir(const char *path);
106106
int sync(void);
107107

108-
#if defined(__SC__)
109-
int unlink(char *);
110-
#else
111108
int unlink(const char *);
112-
#endif
113109

114110
#endif /* USE_GUSI */
115111

Mac/Python/macgetcompiler.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,8 @@ PERFORMANCE OF THIS SOFTWARE.
6969
#endif
7070

7171
#ifdef MPW
72-
#ifdef __SC__
73-
#define COMPILER " [Symantec MPW]"
74-
#else
7572
#define COMPILER " [Apple MPW]"
7673
#endif
77-
#endif
7874

7975
const char *
8076
Py_GetCompiler(void)

0 commit comments

Comments
 (0)