Include platform_config.h in thread.cpp and thread.h

(cherry picked from commit 6c6291b84f)
This commit is contained in:
Bartłomiej T. Listwon 2022-03-14 12:36:06 +01:00 committed by Rémi Verschelde
parent 88e2c513e7
commit 8db39b82ea
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#include "platform_config.h"
#ifndef PLATFORM_THREAD_OVERRIDE // See details in thread.h #ifndef PLATFORM_THREAD_OVERRIDE // See details in thread.h
#include "thread.h" #include "thread.h"

View File

@ -28,6 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* 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` // 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` // to use a custom Thread implementation defined in `platform/[your_platform]/platform_thread.h`
// Overriding the platform implementation is required in some proprietary platforms // Overriding the platform implementation is required in some proprietary platforms