A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[windows] typo breaking the build
[simgrid.git]
/
src
/
mc
/
ObjectInformation.hpp
diff --git
a/src/mc/ObjectInformation.hpp
b/src/mc/ObjectInformation.hpp
index
8ada283
..
d589dac
100644
(file)
--- a/
src/mc/ObjectInformation.hpp
+++ b/
src/mc/ObjectInformation.hpp
@@
-11,6
+11,8
@@
#include <unordered_map>
#include <vector>
#include <unordered_map>
#include <vector>
+#include <xbt/base.h>
+
#include "mc/mc_forward.h"
#include "mc/Type.hpp"
#include "mc/Frame.hpp"
#include "mc/mc_forward.h"
#include "mc/Type.hpp"
#include "mc/Frame.hpp"
@@
-88,7
+90,11
@@
public:
bool privatized() const
{
bool privatized() const
{
+#ifdef HAVE_SMPI
return this->executable() && smpi_privatize_global_variables;
return this->executable() && smpi_privatize_global_variables;
+#else
+ return false;
+#endif
}
void* base_address() const;
}
void* base_address() const;