diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:57:03 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:57:03 +0200 |
commit | 420fb6c9b3427f65cfe24411944ee46b58cfcfb4 (patch) | |
tree | 58269ba5ee7a22d2df004f03b100cc234b8c3f14 /algorithm.h | |
parent | 1.16 (diff) | |
download | FreeFileSync-420fb6c9b3427f65cfe24411944ee46b58cfcfb4.tar.gz FreeFileSync-420fb6c9b3427f65cfe24411944ee46b58cfcfb4.tar.bz2 FreeFileSync-420fb6c9b3427f65cfe24411944ee46b58cfcfb4.zip |
1.17
Diffstat (limited to 'algorithm.h')
-rw-r--r-- | algorithm.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/algorithm.h b/algorithm.h index ab4129db..e198906c 100644 --- a/algorithm.h +++ b/algorithm.h @@ -35,7 +35,7 @@ namespace FreeFileSync void includeAllRowsOnGrid(FileCompareResult& currentGridData); void excludeAllRowsOnGrid(FileCompareResult& currentGridData); - wxString utcTimeToLocalString(const time_t utcTime); + wxString utcTimeToLocalString(const wxLongLong& utcTime); //enhanced binary search template: returns an iterator template <class ForwardIterator, class T> @@ -49,15 +49,10 @@ namespace FreeFileSync } #ifdef FFS_WIN - Zstring getLastErrorFormatted(const unsigned long lastError = 0); //try to get additional windows error information - -//detect if FAT/FAT32 drive needs a +-1h time shift after daylight saving time (DST) switch due to known windows bug: -//http://www.codeproject.com/KB/datetime/dstbugs.aspx - -//NO performance issue: debug build: 50 ms for 200000 files processed in for-loop - void checkForDSTChange(const FileCompareResult& gridData, const std::vector<FolderPair>& directoryPairsFormatted, int& timeShift, wxString& driveName); -#endif //FFS_WIN - + Zstring getLastErrorFormatted(const unsigned long lastError = 0); //try to get additional Windows error information +#elif defined FFS_LINUX + Zstring getLastErrorFormatted(const int lastError = 0); //try to get additional Linux error information +#endif } |