[MLton-commit] r7142

Matthew Fluet fluet at mlton.org
Sun Jun 14 11:17:43 PDT 2009


Cygwin doesn't define RTLD_LOCAL.
----------------------------------------------------------------------

U   mlton/trunk/lib/mlnlffi-lib/gen-rtld-flags.c

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

Modified: mlton/trunk/lib/mlnlffi-lib/gen-rtld-flags.c
===================================================================
--- mlton/trunk/lib/mlnlffi-lib/gen-rtld-flags.c	2009-06-12 19:53:32 UTC (rev 7141)
+++ mlton/trunk/lib/mlnlffi-lib/gen-rtld-flags.c	2009-06-14 18:17:43 UTC (rev 7142)
@@ -1,6 +1,10 @@
 #include <stdio.h>
 #include <dlfcn.h>
 
+#ifndef RTLD_LOCAL
+#define RTLD_LOCAL 0
+#endif
+
 int main(int argc, char *argv[])
 {
   printf("structure RTLDFlags = struct\n");




More information about the MLton-commit mailing list