[vos-d] Compiling 0.24 with mingw on windows2000
Reed Hedges
reed at interreality.org
Sat Feb 24 19:23:05 EST 2007
Reed Hedges wrote:
> Ken Taylor wrote:
>> dateformatfilter.cc: In member function `void DateFormatter::reformat()':
>> dateformatfilter.cc:107: error: `localtime_r' undeclared (first use this
>> function)
>> dateformatfilter.cc:107: error: (Each undeclared identifier is reported only
>> once for each function it appears in.)
>>
>> this looks like another function that mingw doesn't define (it's not in the
>> time.h that I have)
>
> Hmm, well we can put one in the windows version of VUtil if configure
> doesn't find it on the system. It would just be a call to localtime()
> with a mutex lock during, I think.
OK, I added this to VUtil but someone on windows needs to test it. The
configure script checks for localtime_r, and libvutil implements its own
VUtil::localtime_r() function accordingly.
Reed
More information about the vos-d
mailing list