[MLton-commit] r7204

Wesley Terpstra wesley at mlton.org
Sat Jul 4 09:41:29 PDT 2009


This bug in the mingw64 headers seems fixed now.


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

U   mlton/trunk/runtime/platform/mingw.c

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

Modified: mlton/trunk/runtime/platform/mingw.c
===================================================================
--- mlton/trunk/runtime/platform/mingw.c	2009-07-01 17:23:15 UTC (rev 7203)
+++ mlton/trunk/runtime/platform/mingw.c	2009-07-04 16:41:28 UTC (rev 7204)
@@ -820,8 +820,8 @@
                 strcpy (buf->nodename, "unknown");
         }
 #ifdef _WIN64
-        sprintf (buf->release, "%d", MINGW64_VERSION_MINOR);
-        sprintf (buf->version, "%d", MINGW64_VERSION_MAJOR);
+        sprintf (buf->release, "%d", __MINGW64_VERSION_MINOR);
+        sprintf (buf->version, "%d", __MINGW64_VERSION_MAJOR);
 #else
         sprintf (buf->release, "%d", __MINGW32_MINOR_VERSION);
         sprintf (buf->version, "%d", __MINGW32_MAJOR_VERSION);




More information about the MLton-commit mailing list