diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 14:34:18 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 14:34:18 +0000 |
commit | 28ecf70db57828db2ca279643bf9aeca7662f35c (patch) | |
tree | 09b7767bbc411f85313b58d6fe7e5e67d9392973 /Mac/Include/macdefs.h | |
parent | 6045b9c93511c767f6cfa2d2fa299c76181acd9b (diff) | |
download | cpython-git-28ecf70db57828db2ca279643bf9aeca7662f35c.tar.gz |
Getting rid of support for MacOS9 and earlier. This is the first step,
and the biggest in size, but probably the easiest. Hunting through the
source code comes next.
Diffstat (limited to 'Mac/Include/macdefs.h')
-rw-r--r-- | Mac/Include/macdefs.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/Mac/Include/macdefs.h b/Mac/Include/macdefs.h deleted file mode 100644 index df7d6f74b4..0000000000 --- a/Mac/Include/macdefs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Useful #includes and #defines for programming a set of Unix - look-alike file system access functions on the Macintosh. - Public domain by Guido van Rossum, CWI, Amsterdam (July 1987). -*/ -#ifndef Py_MACDEFS_H -#define Py_MACDEFS_H - -#include <Types.h> -#include <Files.h> -#include <OSUtils.h> - -#include <errno.h> -#include <string.h> -#ifdef __MWERKS__ -#include "errno_unix.h" -#include <TextUtils.h> -#endif - -#ifdef __cplusplus - extern "C" { -#endif - -/* We may be able to use a std routine in think, don't know */ -extern unsigned char *Pstring(char *); -extern char *getbootvol(void); -extern char *getwd(char *); -#ifndef USE_GUSI -extern int sync(void); -#endif - -/* Universal constants: */ -#define MAXPATH 256 -#ifndef __MSL__ -#define TRUE 1 -#define FALSE 0 -#endif -#ifndef NULL -#define NULL 0 -#endif -#define EOS '\0' -#define SEP ':' - -#ifdef __cplusplus -} -#endif -#endif |