Add STA_ATOMIC_ENABLE guards

This commit is contained in:
Henrik Stickann
2022-04-10 20:44:44 +02:00
parent 4bf8a31acf
commit 82b7e2a3df
4 changed files with 18 additions and 0 deletions

View File

@@ -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