Skip to content
Snippets Groups Projects
Commit b4348c99 authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Fix for atomic with gcc 4.8 (CentOS 7)

parent 536de9a4
Branches
Tags
No related merge requests found
......@@ -41,8 +41,12 @@
#define _YAT_ATOMIC_H_
#ifdef YAT_HAS_ATOMIC
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
#include <atomic>
#else
#include <cstdatomic>
#endif
#endif
// ============================================================================
// DEPENDENCIES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment