newlib: fixes for compatibility with newlib 3.0

This commit is contained in:
Ivan Grokhotkov
2019-03-28 19:22:37 +08:00
parent 4770acf1cb
commit d15e18aa5d
4 changed files with 9 additions and 6 deletions

View File

@@ -460,7 +460,8 @@ void pthread_exit(void *value_ptr)
vTaskSuspend(NULL);
}
ESP_LOGV(TAG, "%s EXIT", __FUNCTION__);
// Should never be reached
abort();
}
int pthread_cancel(pthread_t thread)