[MLton-commit] r7205

Wesley Terpstra wesley at mlton.org
Sat Jul 4 09:42:02 PDT 2009


There's now a different #define used to indicate timespec exists.


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

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

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

Modified: mlton/trunk/runtime/platform/mingw.h
===================================================================
--- mlton/trunk/runtime/platform/mingw.h	2009-07-04 16:41:28 UTC (rev 7204)
+++ mlton/trunk/runtime/platform/mingw.h	2009-07-04 16:42:02 UTC (rev 7205)
@@ -873,7 +873,7 @@
 #endif
 
 /* Sometimes defined by mingw */
-#ifndef TIMESPEC_DEFINED
+#if !defined(TIMESPEC_DEFINED) && !defined(_TIMESPEC_DEFINED)
 struct timespec {
   time_t tv_sec;
   long tv_nsec;




More information about the MLton-commit mailing list