Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Do not #define __has_feature
[simgrid.git] / src / mc / mc_forward.hpp
1 /* Copyright (c) 2007-2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 /** \file mc_forward.hpp
8  *
9  *  Forward definitions for MC types
10  */
11
12 #ifndef SIMGRID_MC_FORWARD_HPP
13 #define SIMGRID_MC_FORWARD_HPP
14
15 #ifndef __has_feature
16   #define MC_OVERRIDE
17 #else
18   #if __has_feature(cxx_override_control)
19     #define MC_OVERRIDE override
20   #else
21     #define MC_OVERRIDE
22   #endif
23 #endif
24
25 namespace simgrid {
26 namespace mc {
27
28 class PageStore;
29 class ModelChecker;
30 class AddressSpace;
31 class Process;
32 class Snapshot;
33 class ObjectInformation;
34 class Type;
35 class Variable;
36 class Frame;
37
38 }
39 }
40
41 // TODO, try to get rid of the global ModelChecker variable
42 extern simgrid::mc::ModelChecker* mc_model_checker;
43
44 #endif