Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation warning about undelcared pthread_setname_np #1079

Merged
merged 8 commits into from
Jun 10, 2024
6 changes: 2 additions & 4 deletions portable/ThirdParty/GCC/Posix/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@
* only or serialized with a FreeRTOS primitive such as a binary
* semaphore or mutex.
*----------------------------------------------------------*/
#include "portmacro.h"

#ifdef __linux__
#define __USE_GNU
aggarg marked this conversation as resolved.
Show resolved Hide resolved
#define _GNU_SOURCE
#endif

#include "portmacro.h"
#include <errno.h>
#include <pthread.h>
#include <limits.h>
Expand Down
Loading