Skip to content

Commit 11a2caf

Browse files
committed
Wind back the optimization in PR #235
1 parent 36f1d9d commit 11a2caf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/include/log4cxx/helpers/transcoder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class LOG4CXX_EXPORT Transcoder
192192
}
193193
}
194194

195-
#if LOG4CXX_LOGCHAR_IS_UTF8
195+
#if LOG4CXX_CHARSET_UTF8 && LOG4CXX_LOGCHAR_IS_UTF8
196196

197197
#define LOG4CXX_ENCODE_CHAR(var, src) \
198198
const std::string& var = src

0 commit comments

Comments
 (0)