summaryrefslogtreecommitdiffstats
path: root/Mac/Include/macdefs.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-29 08:42:37 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-29 08:42:37 (GMT)
commit739267b7c34c0bdf934059804fde3f027e84bd0b (patch)
tree25dc06eae2dd9cf8b2bce19683e8d7a5b8ebbc08 /Mac/Include/macdefs.h
parente78344444086581bdf59f13415b0c701e740cce1 (diff)
downloadcpython-739267b7c34c0bdf934059804fde3f027e84bd0b.zip
cpython-739267b7c34c0bdf934059804fde3f027e84bd0b.tar.gz
cpython-739267b7c34c0bdf934059804fde3f027e84bd0b.tar.bz2
Completed (hopefully) the unification of THINK 6.0 and MPW 3.2
versions -- they now share config.c and config.h, and statting is always done through macstat.[ch] (THINK's <stat.h> defines funny constants). Also the configuration of stdwin is done differently: you have to define USE_STDWIN to the compiler prefix.
Diffstat (limited to 'Mac/Include/macdefs.h')
-rw-r--r--Mac/Include/macdefs.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/Mac/Include/macdefs.h b/Mac/Include/macdefs.h
index dcdedb1..c1e8a6e 100644
--- a/Mac/Include/macdefs.h
+++ b/Mac/Include/macdefs.h
@@ -7,17 +7,13 @@
#include <Files.h>
#include <OSUtils.h>
-#ifndef MPW
+#ifdef THINK_C
#include <pascal.h>
#endif
#include <errno.h>
#include <string.h>
-/* Difference in origin between Mac and Unix clocks: */
-#define TIMEDIFF ((unsigned long) \
- (((1970-1904)*365 + (1970-1904)/4) * 24 * 3600))
-
/* Macro to find out whether we can do HFS-only calls: */
#define FSFCBLen (* (short *) 0x3f6)
#define hfsrunning() (FSFCBLen > 0)
@@ -31,8 +27,3 @@
#endif
#define EOS '\0'
#define SEP ':'
-
-#if 0 // doesn't work
-/* Call Macsbug: */
-pascal void Debugger() extern 0xA9FF;
-#endif