vcpkg/ports/log4cxx/threadutility.patch

18 lines
481 B
Diff
Raw Normal View History

diff --git a/src/main/cpp/threadutility.cpp b/src/main/cpp/threadutility.cpp
index b57ab66b..c14c12fd 100644
--- a/src/main/cpp/threadutility.cpp
+++ b/src/main/cpp/threadutility.cpp
@@ -16,8 +16,11 @@
*/
#include "log4cxx/helpers/threadutility.h"
-#include "log4cxx/private/log4cxx_private.h"
#include "log4cxx/helpers/loglog.h"
+#if !defined(LOG4CXX)
+ #define LOG4CXX 1
+#endif
+#include "log4cxx/private/log4cxx_private.h"
#include <signal.h>
#include <mutex>