| Index: net/disk_cache/simple/simple_util.cc
|
| diff --git a/net/disk_cache/simple/simple_util.cc b/net/disk_cache/simple/simple_util.cc
|
| index 55f309ea9b3fbaa65ed5fd5df7727e86f42554aa..d0e1ce5f99543341d73225e650c3141d67fd52b9 100644
|
| --- a/net/disk_cache/simple/simple_util.cc
|
| +++ b/net/disk_cache/simple/simple_util.cc
|
| @@ -22,6 +22,7 @@ namespace {
|
| // Size of the uint64 hash_key number in Hex format in a string.
|
| const size_t kEntryHashKeyAsHexStringSize = 2 * sizeof(uint64);
|
|
|
| +#if defined(OS_POSIX)
|
| // TODO(clamy, gavinp): this should go in base
|
| bool GetNanoSecsFromStat(const struct stat& st,
|
| time_t* out_sec,
|
| @@ -42,6 +43,7 @@ bool GetNanoSecsFromStat(const struct stat& st,
|
| return false;
|
| #endif
|
| }
|
| +#endif // defined(OS_POSIX)
|
|
|
| } // namespace
|
|
|
|
|