porting/npl/linux: PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP is a GNU extension

Need to provide `__USE_GNU` hint to pthread.h
This commit is contained in:
Deomid "rojer" Ryabkov
2023-07-20 21:57:23 +02:00
committed by Szymon Janc
parent e6e583e523
commit 064f050919
+1
View File
@@ -18,6 +18,7 @@
*/
#include <stdint.h>
#define __USE_GNU
#include <pthread.h>
#include "nimble/nimble_npl.h"