You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2022/01/27 15:25:31 UTC
[commons-daemon] branch master updated: Enable the build to compile with older versions of visual studio
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git
The following commit(s) were added to refs/heads/master by this push:
new 43599ac Enable the build to compile with older versions of visual studio
43599ac is described below
commit 43599ac0a0f32516f11a7d61d3fd57dee1b24632
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jan 27 15:25:23 2022 +0000
Enable the build to compile with older versions of visual studio
TL;DR we use an older version of visual studio to compile release builds
For the long version, see windows/README.txt
---
src/native/windows/include/log.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/native/windows/include/log.h b/src/native/windows/include/log.h
index 894a58e..c82bbf2 100644
--- a/src/native/windows/include/log.h
+++ b/src/native/windows/include/log.h
@@ -54,6 +54,7 @@ __APXBEGIN_DECLS
#define APXLOG_LEVEL_WARN 3
#define APXLOG_LEVEL_ERROR 4
+#define __func__ __FUNCTION__
#define APXLOG_MARK_INFO NULL, APXLOG_LEVEL_INFO, TRUE, __FILE__, __LINE__, __func__, ""
#define APXLOG_MARK_WARN NULL, APXLOG_LEVEL_WARN, TRUE, __FILE__, __LINE__, __func__, ""
#define APXLOG_MARK_ERROR NULL, APXLOG_LEVEL_ERROR, TRUE, __FILE__, __LINE__, __func__, ""