diff --git a/DRAMSys/traceAnalyzer/businessObjects/pythoncaller.h b/DRAMSys/traceAnalyzer/businessObjects/pythoncaller.h index 17ff8819..9eceec38 100644 --- a/DRAMSys/traceAnalyzer/businessObjects/pythoncaller.h +++ b/DRAMSys/traceAnalyzer/businessObjects/pythoncaller.h @@ -38,6 +38,12 @@ #ifndef PYTHONCALLER_H #define PYTHONCALLER_H + +// Workaround for CMAKE and Python +#ifdef slots +#undef slots +#endif + #include #include #include diff --git a/DRAMSys/traceAnalyzer/evaluationtool.h b/DRAMSys/traceAnalyzer/evaluationtool.h index 32977f5b..81364e07 100644 --- a/DRAMSys/traceAnalyzer/evaluationtool.h +++ b/DRAMSys/traceAnalyzer/evaluationtool.h @@ -41,7 +41,13 @@ #define EVALUATIONTOOL_H #include "selectmetrics.h" + +// Workaround for CMAKE and Python +#ifdef slots +#undef slots +#endif #include + #include #include #include