mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-13 04:30:03 +00:00
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:
committed by
Szymon Janc
parent
e6e583e523
commit
064f050919
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#define __USE_GNU
|
||||
#include <pthread.h>
|
||||
|
||||
#include "nimble/nimble_npl.h"
|
||||
|
||||
Reference in New Issue
Block a user