Fix Platform Thread Override

This commit is contained in:
Lucy
2021-09-24 21:23:36 -03:00
parent de917008fd
commit 5fe1857496
2 changed files with 7 additions and 8 deletions

View File

@ -28,9 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
// Define PLATFORM_CUSTOM_THREAD_H in platform_config.h
// Overriding the platform implementation is required in some proprietary platforms
#ifndef PLATFORM_CUSTOM_THREAD_H
#ifndef PLATFORM_THREAD_OVERRIDE // See details in thread.h
#include "thread.h"
@ -130,4 +128,4 @@ Thread::~Thread() {
}
#endif
#endif // PLATFORM_CUSTOM_THREAD_H
#endif // PLATFORM_THREAD_OVERRIDE