summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/config.h7
-rw-r--r--Mac/Include/macdefs.h11
2 files changed, 7 insertions, 11 deletions
diff --git a/Mac/Include/config.h b/Mac/Include/config.h
index 7b98e95..e04fde6 100644
--- a/Mac/Include/config.h
+++ b/Mac/Include/config.h
@@ -1,4 +1,9 @@
-/* config.h for Macintosh THINK C 6.0. */
+/* config.h for Macintosh THINK C 6.0 and MPW 3.2. */
+
+#ifdef MPW
+/* This must be is MPW 3.x */
+#define MPW_3 1
+#endif
/* Define if on Macintosh (THINK_C or MPW should also be defined) */
#define macintosh
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