You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ts...@apache.org on 2016/07/02 13:05:28 UTC
svn commit: r1751058 -
/incubator/log4cxx/trunk/src/main/cpp/charsetencoder.cpp
Author: tschoening
Date: Sat Jul 2 13:05:27 2016
New Revision: 1751058
URL: http://svn.apache.org/viewvc?rev=1751058&view=rev
Log:
wcstombs was not available even if it was defined to be.
Modified:
incubator/log4cxx/trunk/src/main/cpp/charsetencoder.cpp
Modified: incubator/log4cxx/trunk/src/main/cpp/charsetencoder.cpp
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/main/cpp/charsetencoder.cpp?rev=1751058&r1=1751057&r2=1751058&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/main/cpp/charsetencoder.cpp (original)
+++ incubator/log4cxx/trunk/src/main/cpp/charsetencoder.cpp Sat Jul 2 13:05:27 2016
@@ -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;