From 9029e5d66f9107b178f0fe2d6cfeeeec3773a0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20T=2E=20Listwon?= Date: Mon, 14 Mar 2022 12:36:06 +0100 Subject: [PATCH] Include platform_config.h in thread.cpp and thread.h (cherry picked from commit 6c6291b84f384457967745684fde72831d838dd1) --- core/os/thread.cpp | 1 + core/os/thread.h | 1 + 2 files changed, 2 insertions(+) diff --git a/core/os/thread.cpp b/core/os/thread.cpp index c077ec507b5..9aaec0aa57d 100644 --- a/core/os/thread.cpp +++ b/core/os/thread.cpp @@ -28,6 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ +#include "platform_config.h" #ifndef PLATFORM_THREAD_OVERRIDE // See details in thread.h #include "thread.h" diff --git a/core/os/thread.h b/core/os/thread.h index 0ed072d8e88..8073c4a1b2e 100644 --- a/core/os/thread.h +++ b/core/os/thread.h @@ -28,6 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ +#include "platform_config.h" // Define PLATFORM_THREAD_OVERRIDE in your platform's `platform_config.h` // to use a custom Thread implementation defined in `platform/[your_platform]/platform_thread.h` // Overriding the platform implementation is required in some proprietary platforms