vcpkg/ports/log4cxx/threadutility.patch
Stephen Webb aed77722f8
[log4cxx] Update to 0.13.0 (#25317)
* [log4cxx] Update to 0.13.0

* [log4cxx] Update to 0.13.0

* [log4cxx] Add license id

* [log4cxx] Add license id

* [log4cxx] Add license id

* [log4cxx] Add license id

* [log4cxx] Fix compilation error in static build

* Fix compilation error in a static build

* Fix compilation error in a static build

* Fix compilation error in a static build

* [log4cxx] Update to 0.13.0

* update version

* update portfile.cmake

* update version

* update vcpkg_extract_source_archive

* update evrsion

Co-authored-by: Stephen Webb <stephen.webb@sabreautonomous.com.au>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-06-20 14:18:58 -07:00

18 lines
481 B
Diff

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>