[MLton-commit] r7270
    Wesley Terpstra 
    wesley at mlton.org
       
    Thu Oct 15 10:35:33 PDT 2009
    
    
  
Make debian/freebsd conditional so as not to impact existing freebsd port.
----------------------------------------------------------------------
U   mlton/trunk/runtime/platform/freebsd.h
----------------------------------------------------------------------
Modified: mlton/trunk/runtime/platform/freebsd.h
===================================================================
--- mlton/trunk/runtime/platform/freebsd.h	2009-10-14 19:43:37 UTC (rev 7269)
+++ mlton/trunk/runtime/platform/freebsd.h	2009-10-15 17:35:33 UTC (rev 7270)
@@ -39,6 +39,9 @@
 
 #define MLton_Platform_OS_host "freebsd"
 
+/* This is probably debian specific, since freebsd worked w/o it before. */
+#if (defined (__FreeBSD_kernel__))
 #define getpgrp() getpgrp(getpid())
+#endif
 
 extern char **environ; /* for Posix_ProcEnv_environ */
    
    
More information about the MLton-commit
mailing list