summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartłomiej T. Listwon <blistwon@gmail.com>2022-03-14 12:36:06 +0100
committerBartłomiej T. Listwon <blistwon@gmail.com>2022-03-14 12:36:06 +0100
commit6c6291b84f384457967745684fde72831d838dd1 (patch)
tree154b8317e8191e41462b635689c65ae4f5a60874
parente4b94063137c57a723c227856497f36d063b7903 (diff)
Include platform_config.h in thread.cpp and thread.h
-rw-r--r--core/os/thread.cpp1
-rw-r--r--core/os/thread.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/os/thread.cpp b/core/os/thread.cpp
index f80e8f4bb3..c8072b7280 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 f4e46059ad..3382dd81f9 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