mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-06 10:27:34 +00:00
Add STA_ATOMIC_ENABLE guards
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#ifndef STA_ATOMIC_MUTEX_HPP
|
||||
#define STA_ATOMIC_MUTEX_HPP
|
||||
|
||||
#include <sta/config.hpp>
|
||||
#ifdef STA_ATOMIC_ENABLE
|
||||
|
||||
#include <sta/mutex.hpp>
|
||||
|
||||
#include <atomic>
|
||||
@@ -22,4 +25,6 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_ATOMIC_ENABLE
|
||||
|
||||
#endif // STA_ATOMIC_MUTEX_HPP
|
||||
|
@@ -1,6 +1,9 @@
|
||||
#ifndef STA_ATOMIC_SIGNAL_HPP
|
||||
#define STA_ATOMIC_SIGNAL_HPP
|
||||
|
||||
#include <sta/config.hpp>
|
||||
#ifdef STA_ATOMIC_ENABLE
|
||||
|
||||
#include <sta/signal.hpp>
|
||||
|
||||
#include <atomic>
|
||||
@@ -24,4 +27,6 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_ATOMIC_ENABLE
|
||||
|
||||
#endif // STA_ATOMIC_SIGNAL_HPP
|
||||
|
Reference in New Issue
Block a user