diff --git a/compiler/ilgen/OMRIlType.hpp b/compiler/ilgen/OMRIlType.hpp index f3681ae63e8..63ee4c0896e 100644 --- a/compiler/ilgen/OMRIlType.hpp +++ b/compiler/ilgen/OMRIlType.hpp @@ -25,6 +25,10 @@ #include "il/DataTypes.hpp" class TR_Memory; +#ifndef TR_ALLOC +#define TR_ALLOC(x) +#endif + namespace TR { class IlType; } diff --git a/compiler/ilgen/OMRIlValue.hpp b/compiler/ilgen/OMRIlValue.hpp index 2e2a9f59e9f..d6efe30207d 100644 --- a/compiler/ilgen/OMRIlValue.hpp +++ b/compiler/ilgen/OMRIlValue.hpp @@ -23,6 +23,9 @@ #define OMR_ILVALUE_INCL #include "il/DataTypes.hpp" // for TR::DataType +#ifndef TR_ALLOC +#define TR_ALLOC(x) +#endif namespace TR { class Node; } namespace TR { class TreeTop; }