mirror of https://github.com/YosysHQ/yosys.git
yosys_common: fix gcc warning in #error directive
This commit is contained in:
parent
281e474d45
commit
cea5326229
|
@ -134,7 +134,7 @@ YOSYS_NAMESPACE_BEGIN
|
||||||
// Note: All headers included in hashlib.h must be included
|
// Note: All headers included in hashlib.h must be included
|
||||||
// outside of YOSYS_NAMESPACE before this or bad things will happen.
|
// outside of YOSYS_NAMESPACE before this or bad things will happen.
|
||||||
#ifdef HASHLIB_H
|
#ifdef HASHLIB_H
|
||||||
# error You've probably included hashlib.h under two namespace paths. Bad idea.
|
# error "You've probably included hashlib.h under two namespace paths. Bad idea."
|
||||||
#else
|
#else
|
||||||
# include "kernel/hashlib.h"
|
# include "kernel/hashlib.h"
|
||||||
# undef HASHLIB_H
|
# undef HASHLIB_H
|
||||||
|
|
Loading…
Reference in New Issue