added build configuration for iPhone

This commit is contained in:
Guenter Obiltschnig
2009-03-17 15:25:13 +00:00
parent 47cf15d198
commit 706dee777d
2 changed files with 78 additions and 1 deletions

View File

@@ -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);