You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2017/04/09 06:50:23 UTC
[44/50] [abbrv] logging-log4cxx git commit: wcstombs was not
available even if it was defined to be.
wcstombs was not available even if it was defined to be.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/fd8e4189
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/fd8e4189
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/fd8e4189
Branch: refs/heads/master
Commit: fd8e41897483c5efcbcf6bf10b452357a2150187
Parents: 10d7ddd
Author: Thorsten Sch�ning <ts...@apache.org>
Authored: Sat Jul 2 13:05:27 2016 +0000
Committer: Thorsten Sch�ning <ts...@apache.org>
Committed: Sat Jul 2 13:05:27 2016 +0000
----------------------------------------------------------------------
src/main/cpp/charsetencoder.cpp | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/fd8e4189/src/main/cpp/charsetencoder.cpp
----------------------------------------------------------------------
diff --git a/src/main/cpp/charsetencoder.cpp b/src/main/cpp/charsetencoder.cpp
index ca9b3fa..1b0c626 100644
--- a/src/main/cpp/charsetencoder.cpp
+++ b/src/main/cpp/charsetencoder.cpp
@@ -21,14 +21,20 @@
#include <apr_xlate.h>
#include <log4cxx/helpers/stringhelper.h>
#include <log4cxx/helpers/transcoder.h>
+
#if !defined(LOG4CXX)
#define LOG4CXX 1
#endif
+
#include <log4cxx/private/log4cxx_private.h>
#include <apr_portable.h>
#include <log4cxx/helpers/mutex.h>
#include <log4cxx/helpers/synchronized.h>
+#ifdef LOG4CXX_HAS_WCSTOMBS
+#include <stdlib.h>
+#endif
+
using namespace log4cxx;
using namespace log4cxx::helpers;