r3224 - trunk/libmutil/source

erik at minisip.org erik at minisip.org
Tue Feb 27 10:30:59 CET 2007


Author: erik
Date: 2007-02-27 10:30:58 +0100 (Tue, 27 Feb 2007)
New Revision: 3224

Modified:
   trunk/libmutil/source/mtimeWin32.cxx
Log:

 * Seems like _ftime64 is not available when doing the MINGW32 build
   (from header: _ftime64 requires newer versions of msvcrt.dll - 6.10 or higher).
   



Modified: trunk/libmutil/source/mtimeWin32.cxx
===================================================================
--- trunk/libmutil/source/mtimeWin32.cxx	2007-02-26 23:43:49 UTC (rev 3223)
+++ trunk/libmutil/source/mtimeWin32.cxx	2007-02-27 09:30:58 UTC (rev 3224)
@@ -37,8 +37,10 @@
 	struct _timeb tb;
 	_ftime (&tb);
 #elif defined(__MINGW32__)
-	struct __timeb64 tb;
-	_ftime64 (&tb);
+	// struct __timeb64 tb;  // requires v.61 or higher or msvcrt.dll
+	// _ftime64 (&tb); 
+	struct _timeb tb;
+	_ftime (&tb);
 #else
 	struct __timeb64 tb;
 	_ftime64_s (&tb);



More information about the Minisip-devel mailing list