Applied. Thanks! Are there likely to be other variations on this theme for other compilers?
Tim. On Fri, Feb 28, 2003 at 09:53:13AM +0100, Steffen Goeldner wrote: > Attached is a small patch for 'non underscore systems'. > > > Steffen > *** DBI-1.33-orig/DBI.xs Thu Feb 27 01:22:44 2003 > --- DBI-1.33/DBI.xs Thu Feb 27 21:36:47 2003 > *************** > *** 1818,1823 **** > --- 1818,1827 ---- > return when.tv_sec + (when.tv_usec / 1000000.0); > # else /* per-second is almost useless */ > # ifdef _WIN32 /* use _ftime() on Win32 (MS Visual C++ 6.0) */ > + # if defined(__BORLANDC__) > + # define _timeb timeb > + # define _ftime ftime > + # endif > struct _timeb when; > _ftime( &when ); > return when.time + (when.millitm / 1000.0);
