fgerlits commented on a change in pull request #1015:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1015#discussion_r582099946
##########
File path: libminifi/include/utils/file/FileUtils.h
##########
@@ -248,18 +248,16 @@ inline uint64_t last_write_time(const std::string &path) {
if (ec.value() == 0) {
return result;
}
-#else
-#ifdef WIN32
- struct _stat result;
- if (_stat(path.c_str(), &result) == 0) {
+#elif WIN32
Review comment:
I think this should be `#elif defined(WIN32)`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]