summaryrefslogtreecommitdiff
path: root/ace/Filecache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Filecache.cpp')
-rw-r--r--ace/Filecache.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/ace/Filecache.cpp b/ace/Filecache.cpp
index 5122cb6fdc8..72601d8d1d3 100644
--- a/ace/Filecache.cpp
+++ b/ace/Filecache.cpp
@@ -738,15 +738,7 @@ ACE_Filecache_Object::update (void) const
if (ACE_OS::stat (this->filename_, &statbuf) == -1)
result = 1;
else
- // non-portable code may follow
-#if defined (ACE_HAS_WINCE)
- // Yup, non-portable... there's probably a way to safely implement
- // difftime() on WinCE, but for now, this will have to do. It flags
- // every file as having changed since cached.
- result = 1;
-#else
result = ACE_OS::difftime (this->stat_.st_mtime, statbuf.st_mtime) < 0;
-#endif /* ACE_HAS_WINCE */
return result;
}