Skip to content
Snippets Groups Projects
Commit d8a268a4 authored by Steven Murray's avatar Steven Murray
Browse files

cstdatomic is included in gcc 4.4 and atomic is included otherwise

parent 12a974ac
Branches
Tags
No related merge requests found
......@@ -21,7 +21,13 @@
#include "common/log/Constants.hpp"
#include "common/log/Param.hpp"
#include <atomic>
// The header file for atomic was is actually called cstdatomic in gcc 4.4
#if __GNUC__ == 4 && (__GNUC_MINOR__ == 4)
#include <cstdatomic>
#else
#include <atomic>
#endif
#include <list>
#include <map>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment