mirror of
https://github.com/verilator/verilator.git
synced 2025-01-19 12:54:02 +00:00
Check whether V3ERROR_NO_GLOBAL_ is not already defined. (#4475)
Co-authored-by: Mariusz Glebocki <mglebocki@antmicro.com>
This commit is contained in:
parent
0baee84e96
commit
e77d847671
@ -20,7 +20,9 @@
|
||||
#include "config_build.h"
|
||||
#include "verilatedos.h"
|
||||
|
||||
#ifndef V3ERROR_NO_GLOBAL_
|
||||
#define V3ERROR_NO_GLOBAL_
|
||||
#endif
|
||||
#include "V3Error.h"
|
||||
|
||||
//********************************************************************
|
||||
|
@ -24,7 +24,9 @@
|
||||
#include "verilatedos.h"
|
||||
|
||||
// Cheat for speed and compile .cpp files into one object TODO: Reconsider
|
||||
#ifndef V3ERROR_NO_GLOBAL_
|
||||
#define V3ERROR_NO_GLOBAL_
|
||||
#endif
|
||||
#include "V3Error.h"
|
||||
static int debug() { return V3Error::debugDefault(); }
|
||||
#include "V3Error.cpp"
|
||||
|
@ -25,7 +25,9 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#ifndef V3ERROR_NO_GLOBAL_
|
||||
#define V3ERROR_NO_GLOBAL_
|
||||
#endif
|
||||
#include "verilated_cov_key.h"
|
||||
|
||||
#include "V3Error.h"
|
||||
|
Loading…
Reference in New Issue
Block a user