5 Commits (c58be229b12f9b447539a015a2f11efbaf7c8c47)

Author SHA1 Message Date
Robin Mills ab8010ffd7 #556 timegm() function should work with Windows 64bit time_t
Fix submitted.
1) Removed _USE_32BIT_TIME_T from code base.
2) Added a macro to replace timegm() with _mkgmtime() on VC8+ (supports 32 and 64 bit time_t)

Simple test performed on VC 7.1/8 and 9 (VS 2003/05/08)
C:\gnu\exiv2\msvc\bin\Release>exiv2 -a 1:00:00 ad \R.tiff && exiv2 -pt \R.tiff | grep DateTimeOriginal
Exif.Photo.DateTimeOriginal                  Ascii      20  2009:04:26 10:38:18
C:\gnu\exiv2\msvc\bin\Release>exiv2 -a 1:00:00 ad \R.tiff && exiv2 -pt \R.tiff | grep -i time
Exif.Image.DateTimeOriginal                  Ascii      20  2009:04:26 11:38:18
C:\gnu\exiv2\msvc\bin\Release>

3) Cosmetic fix to basicio.cpp
Fixed nasty little <tab> I missed when I committed basicio.cpp on Sunday (apologies)
16 years ago
Andreas Huggel 6a2ec40b76 Fixed typo introduced in rev. 850, needed for the tests to pass with MSVC 2005 19 years ago
Andreas Huggel d53a778b2b Fixed MSVC 2005 issues (except for exiv2com) and minor problems. All tests pass now on MSVC 2005. Fixes bug #455 19 years ago
brad 77d3d5621a added subversion style keywords 21 years ago
Andreas Huggel eba6b82386 Added timegm() from the tz distribution and preparations for conditional compilation (requires configure script) 21 years ago