mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-24 06:04:15 +01:00
added build configuration for iPhone
This commit is contained in:
@@ -207,7 +207,7 @@ Timestamp FileImpl::createdImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
#if defined(__APPLE__) && defined(st_birthtime) // st_birthtime is available only on 10.5
|
||||
#if defined(__APPLE__) && defined(st_birthtime) && !defined(POCO_NO_STAT64) // st_birthtime is available only on 10.5
|
||||
struct stat64 st;
|
||||
if (stat64(_path.c_str(), &st) == 0)
|
||||
return Timestamp::fromEpochTime(st.st_birthtime);
|
||||
|
||||
Reference in New Issue
Block a user