Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GCC/Posix port compilation on FreeBSD (FreeRTOS#1239) (FreeRTOS#1240
) On FreeBSD pthread_once_t is a struct and cast is required. Otherwise there's compilation error: ../../mocks/freertos/port.c:261:23: error: expected expression hSigSetupThread = PTHREAD_ONCE_INIT; ^ PTHREAD_ONCE_INIT is defined as: { PTHREAD_NEEDS_INIT, NULL } on FreeBSD Co-authored-by: Jakub Tymejczyk <[email protected]>
- Loading branch information