[MLton-commit] r4722

Stephen Weeks sweeks at mlton.org
Tue Oct 10 10:57:14 PDT 2006


Added dummy def to avoid empty file, which makes the MacOS linker
unhappy.

----------------------------------------------------------------------

U   mlton/trunk/runtime/basis/Ptrace.c

----------------------------------------------------------------------

Modified: mlton/trunk/runtime/basis/Ptrace.c
===================================================================
--- mlton/trunk/runtime/basis/Ptrace.c	2006-10-06 18:12:52 UTC (rev 4721)
+++ mlton/trunk/runtime/basis/Ptrace.c	2006-10-10 17:57:11 UTC (rev 4722)
@@ -10,4 +10,9 @@
         return ptrace (request, pid, (int) addr, (int) data);
 }
 
+#else
+
+/* We need the following to make the MacOS linker happy. */
+int mlton_no_ptrace_dummy;
+
 #endif




More information about the MLton-commit mailing list