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

cstdatomic is included in gcc 4.4 and atomic is included otherwise

parent bfe781cd
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,13 @@
#include "nameserver/NameServer.hpp"
#include "common/SecurityIdentity.hpp"
#include <cstdatomic>
// 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 <mutex>
#include <string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment