# Reverts this commit: https://github.com/apache/logging-log4cxx/commit/23a85d7a711f1cd5bf7170ff2a4106d00995c079

--- a/src/main/include/CMakeLists.txt 2022-04-15 07:21:53.000000000 +0545
+++ b/src/main/include/CMakeLists.txt 2022-08-05 02:08:12.000000000 +0545
@@ -44,10 +44,8 @@
 endif()
 option(LOG4CXX_WCHAR_T "Enable wchar_t API methods" ON)
 option(LOG4CXX_UNICHAR "Enable UniChar API methods" OFF)
-set(INIT_IOS_BASE 0)
 if(APPLE)
 option(LOG4CXX_CFSTRING "Enable CFString API methods, requires Mac OS/X CoreFoundation" OFF)
-set(INIT_IOS_BASE 1)
 endif()
 set(CHAR_API 1)
 foreach(varName WCHAR_T  UNICHAR  CFSTRING )


--- a/src/main/cpp/logstream.cpp 2022-01-09 21:22:36.000000000 +0545
+++ b/src/main/cpp/logstream.cpp 2022-08-05 02:08:58.000000000 +0545
@@ -35,9 +35,6 @@
 	//
 	memset(this, 0, sizeof(*this));
 #endif
-#if LOG4CXX_INIT_IOS_BASE
-	init(NULL);
-#endif
 	flags(initval);
 	precision(initsize);
 	width(initsize);


--- a/src/main/include/log4cxx/private/log4cxx_private.h.in 2022-03-24 06:26:57.000000000 +0545
+++ b/src/main/include/log4cxx/private/log4cxx_private.h.in 2022-08-05 02:06:51.000000000 +0545
@@ -40,7 +40,6 @@
 #define LOG4CXX_HAS_MBSRTOWCS @HAS_MBSRTOWCS@
 #define LOG4CXX_HAS_WCSTOMBS @HAS_WCSTOMBS@
 #define LOG4CXX_HAS_FWIDE @HAS_FWIDE@
-#define LOG4CXX_INIT_IOS_BASE @INIT_IOS_BASE@
 
 #define LOG4CXX_CHARSET_UTF8 @CHARSET_UTF8@
 #define LOG4CXX_CHARSET_ISO88591 @CHARSET_ISO88591@
