Commit c23b1635 authored by Steven Murray's avatar Steven Murray
Browse files

cstdatomic is included in gcc 4.4 and atomic is included otherwise

parent 72956167
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment