mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-12 09:03:27 +00:00
hashlib: only include in one place
This commit is contained in:
parent
db04788c18
commit
c73c88033d
3 changed files with 3 additions and 3 deletions
|
@ -134,8 +134,7 @@ YOSYS_NAMESPACE_BEGIN
|
|||
// Note: All headers included in hashlib.h must be included
|
||||
// outside of YOSYS_NAMESPACE before this or bad things will happen.
|
||||
#ifdef HASHLIB_H
|
||||
# undef HASHLIB_H
|
||||
# include "kernel/hashlib.h"
|
||||
# error You've probably included hashlib.h under two namespace paths. Bad idea.
|
||||
#else
|
||||
# include "kernel/hashlib.h"
|
||||
# undef HASHLIB_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue