summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-14 01:27:24 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-14 01:27:24 (GMT)
commitbecdbec8067c0e4cd9c0d9aad682c547d8a2bba3 (patch)
treecd225f6b3373d564641d4f84136181ad3f2597d5 /Mac/Modules
parente2aaa9dd61632e48da08372dfb7f3365ed6d663b (diff)
downloadcpython-becdbec8067c0e4cd9c0d9aad682c547d8a2bba3.zip
cpython-becdbec8067c0e4cd9c0d9aad682c547d8a2bba3.tar.gz
cpython-becdbec8067c0e4cd9c0d9aad682c547d8a2bba3.tar.bz2
ported to Think C
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/config.c15
-rw-r--r--Mac/Modules/macfsmodule.c1
2 files changed, 16 insertions, 0 deletions
diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c
index fee7899..ba6f999 100644
--- a/Mac/Modules/config.c
+++ b/Mac/Modules/config.c
@@ -100,6 +100,20 @@ getversion()
strcat(version, " [MW 68K compiler]");
#endif
#endif
+#ifdef THINK_C
+#ifdef __SC__
+ strcat(version, " [Symantec Think C compiler]");
+#else
+ strcat(version, " [Think C compiler]");
+#endif
+#endif
+#ifdef MPW
+#ifdef __SC__
+ strcat(version, " [Symantec MPW C compiler]");
+#else
+ strcat(version, " [Apple MPW C compiler]");
+#endif
+#endif
return version;
}
@@ -335,6 +349,7 @@ struct {
#ifdef THINK_C
{"Snd", initSnd},
{"Win", initWin},
+#endif
/* -- ADDMODULE MARKER 2 -- */
diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c
index d2f1a5d..bfdb15b 100644
--- a/Mac/Modules/macfsmodule.c
+++ b/Mac/Modules/macfsmodule.c
@@ -26,6 +26,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "modsupport.h" /* For getargs() etc. */
#include "macglue.h"
+#include <Memory.h>
#include <Files.h>
#include <StandardFile.h>
#include <Aliases.h>