mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/rmutex: Made C++ compatible
This commit is contained in:
parent
314184adb5
commit
e0cec17ec8
@ -24,7 +24,11 @@
|
||||
#define RMUTEX_H
|
||||
|
||||
#include <stdint.h>
|
||||
#ifdef __cplusplus
|
||||
#include "c11_atomics_compat.hpp"
|
||||
#else
|
||||
#include <stdatomic.h>
|
||||
#endif
|
||||
|
||||
#include "mutex.h"
|
||||
#include "kernel_types.h"
|
||||
|
Loading…
Reference in New Issue
Block a user