summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.10.0
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-09-07 08:01:00 -0300
committerJani Heikkinen <jani.heikkinen@qt.io>2017-11-23 12:51:31 +0000
commit2aaf5753197c87a0b3730850a1ab851ffb854d9e (patch)
treed0e29f93bf611b9f531e35fd7d259daff7b756f4 /dist/changes-5.10.0
parent915a81d7122fbcb6b28a5368c4d0364f60159bd6 (diff)
Fix the build if st_atimensec is defined
It's a trick used by some C libraries to keep compatibility with BSD extensions while supporting POSIX.1-2008 API. st_atimensec is defined as st_atim.tv_nsec, so the code would expand to invalid C++ In substitution of 'template<class T> typename std::enable_if<((&T::st_atim.tv_nsec), true), long long int>::type{anonymous}::GetFileTimes::atime(const T&, int) [with T = stat]': error: invalid use of non-static data member 'stat::st_atim' Change-Id: I38341f8155354cc4a776fffd14e20f4fc0f6d5bb Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'dist/changes-5.10.0')
0 files changed, 0 insertions, 0 deletions