diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-14 14:05:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 14:05:24 +0100 |
commit | c67b8fafea3c7cacbe97de0a6d418a028dcb7293 (patch) | |
tree | 154b8317e8191e41462b635689c65ae4f5a60874 | |
parent | e4b94063137c57a723c227856497f36d063b7903 (diff) | |
parent | 6c6291b84f384457967745684fde72831d838dd1 (diff) |
Merge pull request #59134 from Pineapple/thread-platform-config
-rw-r--r-- | core/os/thread.cpp | 1 | ||||
-rw-r--r-- | core/os/thread.h | 1 |
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 |