mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-02 17:50:53 +02:00
Add missing parenthesis (#1855)
This commit is contained in:
parent
f6d201cfba
commit
59e2043652
@ -222,7 +222,7 @@ Timestamp FileImpl::createdImpl() const
|
|||||||
// a macro st_birthtime makes sure there is a st_birthtimespec (nano sec precision)
|
// a macro st_birthtime makes sure there is a st_birthtimespec (nano sec precision)
|
||||||
struct stat64 st;
|
struct stat64 st;
|
||||||
if (stat64(_path.c_str(), &st) == 0)
|
if (stat64(_path.c_str(), &st) == 0)
|
||||||
return Timestamp(timespec2Microsecs(st.st_birthtimespec);
|
return Timestamp(timespec2Microsecs(st.st_birthtimespec));
|
||||||
#elif defined(__FreeBSD__) && defined(st_birthtime)
|
#elif defined(__FreeBSD__) && defined(st_birthtime)
|
||||||
// a macro st_birthtime makes sure there is a st_birthtimespec (nano sec precision)
|
// a macro st_birthtime makes sure there is a st_birthtimespec (nano sec precision)
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user