summaryrefslogtreecommitdiff
blob: 1a1c81ca009dc3a134e360c0970fa315b966cd8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -ur pl-5.6.29.orig/src/pl-funcs.h pl-5.6.29/src/pl-funcs.h
--- pl-5.6.29.orig/src/pl-funcs.h	2007-02-07 00:24:03.000000000 +1300
+++ pl-5.6.29/src/pl-funcs.h	2007-03-04 13:53:21.000000000 +1300
@@ -62,7 +62,7 @@
 COMMON(word) 		globalIndirectFromCode(Code *PC);
 COMMON(word) 		makeRef(Word p);
 #ifndef consPtr
-COMMON(word) 		consPtr(void *p, int ts);
+COMMON(word) 		consPtr(void *p, word ts);
 #endif
 COMMON(char *) 		store_string(const char *s);
 COMMON(void) 		remove_string(char *s);
diff -ur pl-5.6.29.orig/src/pl-main.c pl-5.6.29/src/pl-main.c
--- pl-5.6.29.orig/src/pl-main.c	2007-01-23 00:52:23.000000000 +1300
+++ pl-5.6.29/src/pl-main.c	2007-03-04 14:01:38.000000000 +1300
@@ -47,6 +47,10 @@
 #include <crtdbg.h>
 #endif
 
+#if defined(HAVE_MTRACE) && defined(O_MAINTENANCE)
+#include <mcheck.h>
+#endif
+
 static int	usage(void);
 static int	giveVersionInfo(const char *a);
 static bool	vsysError(const char *fm, va_list args);