X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d4dc697d017dc90d064827165eb4f924452aeb0d..a96adb51dabc0c759af11e60c770355f22a54ef3:/src/mc/mc_snapshot.hpp diff --git a/src/mc/mc_snapshot.hpp b/src/mc/mc_snapshot.hpp index b0a19d0523..eab2acf26c 100644 --- a/src/mc/mc_snapshot.hpp +++ b/src/mc/mc_snapshot.hpp @@ -16,7 +16,7 @@ #include "src/mc/mc_forward.hpp" #include "src/mc/mc_unw.hpp" -SG_BEGIN_DECL() +extern "C" { // ***** Snapshot region @@ -231,7 +231,6 @@ static XBT_ALWAYS_INLINE void* MC_region_read_pointer(mc_mem_region_t region, co void* res; return *(void**) MC_region_read(region, &res, addr, sizeof(void*)); } - -SG_END_DECL() +} #endif