"include/composable_kernel/utility/functional.hpp" did not exist on "569ad66e2a03789c4a1fa6659dc8296b4dfb868b"
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 @@
#ifndef SIMBRICKS_BASE_IF_H_
#define SIMBRICKS_BASE_IF_H_
#ifndef __cplusplus
// FIXME (see net_switch)
#ifdef __cplusplus
// FIXME
#include <simbricks/base/cxxatomicfix.h>
#else
#include <stdatomic.h>
#endif
#include <stddef.h>
#include <stdint.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