Commit f9113631 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

lib/simbricks/base: work around c++ atomic problems

parent 6650df5b
...@@ -25,10 +25,13 @@ ...@@ -25,10 +25,13 @@
#ifndef SIMBRICKS_BASE_IF_H_ #ifndef SIMBRICKS_BASE_IF_H_
#define SIMBRICKS_BASE_IF_H_ #define SIMBRICKS_BASE_IF_H_
#ifndef __cplusplus #ifdef __cplusplus
// FIXME (see net_switch) // FIXME
#include <simbricks/base/cxxatomicfix.h>
#else
#include <stdatomic.h> #include <stdatomic.h>
#endif #endif
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
......
Markdown is supported
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