Add include guard to V3InstrCount.h. (#2075)
This is needed for cmake unity build to work.
This commit is contained in:
parent
ac1cdf7cdf
commit
7bbce51f7b
|
|
@ -19,6 +19,9 @@
|
|||
//
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _V3INSTRCOUNT_H_
|
||||
#define _V3INSTRCOUNT_H_ 1
|
||||
|
||||
#include "config_build.h"
|
||||
#include "verilatedos.h"
|
||||
|
||||
|
|
@ -41,3 +44,5 @@ public:
|
|||
// Optional osp is stream to dump critical path to.
|
||||
static uint32_t count(AstNode* nodep, bool assertNoDups, std::ostream* osp = NULL);
|
||||
};
|
||||
|
||||
#endif // guard
|
||||
|
|
|
|||
Loading…
Reference in New Issue