mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Check whether V3ERROR_NO_GLOBAL_ is not already defined. (#4475)
Co-authored-by: Mariusz Glebocki <[email protected]>
This commit is contained in:
co-authored by
Mariusz Glebocki
parent
0baee84e96
commit
e77d847671
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user