summaryrefslogtreecommitdiff
path: root/algorithm.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 16:57:03 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 16:57:03 +0200
commit420fb6c9b3427f65cfe24411944ee46b58cfcfb4 (patch)
tree58269ba5ee7a22d2df004f03b100cc234b8c3f14 /algorithm.h
parent1.16 (diff)
downloadFreeFileSync-420fb6c9b3427f65cfe24411944ee46b58cfcfb4.tar.gz
FreeFileSync-420fb6c9b3427f65cfe24411944ee46b58cfcfb4.tar.bz2
FreeFileSync-420fb6c9b3427f65cfe24411944ee46b58cfcfb4.zip
1.17
Diffstat (limited to 'algorithm.h')
-rw-r--r--algorithm.h15
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
}
bgstack15