summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/framework
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/common/framework')
-rw-r--r--src/usr/diag/prdf/common/framework/resolution/prdfCalloutMap.H12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/framework/resolution/prdfCalloutMap.H b/src/usr/diag/prdf/common/framework/resolution/prdfCalloutMap.H
index a6b4ba8bf..19eee40ba 100644
--- a/src/usr/diag/prdf/common/framework/resolution/prdfCalloutMap.H
+++ b/src/usr/diag/prdf/common/framework/resolution/prdfCalloutMap.H
@@ -30,8 +30,10 @@
//------------------------------------------------------------------------------
+#ifndef PRDF_SIM_ENUMS // needed to compile prdfsimEnumMap.C
namespace PRDF
{
+#endif
//------------------------------------------------------------------------------
@@ -52,6 +54,10 @@ namespace PRDF
{ NULL , (SymbolicFru) 0 } \
};
+#elif defined PRDF_SIM_ENUMS
+
+ // included from prdfsimEnumMap.C, nothing for now
+
#else
#define PRDF_SYM_CALLOUT_MAP_BEGIN \
@@ -103,6 +109,10 @@ PRDF_SYM_CALLOUT_MAP_END
{ NULL , (CalloutPriorityEnum) 0 } \
};
+#elif defined PRDF_SIM_ENUMS
+
+ // included from prdfsimEnumMap.C, nothing for now
+
#else
#define PRDF_CALLOUT_PRIORITY_MAP_BEGIN \
@@ -134,7 +144,9 @@ PRDF_CALLOUT_PRIORITY_MAP_END
//------------------------------------------------------------------------------
+#ifndef PRDF_SIM_ENUMS
} // end namespace PRDF
+#endif
#endif // __prdfCalloutMap_H
OpenPOWER on IntegriCloud