mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +00:00
Check for _YOSYS_ in yosys.h
This commit is contained in:
parent
f65e1c309f
commit
1fc6208ec0
|
@ -58,6 +58,12 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#ifndef _YOSYS_
|
||||||
|
# error It looks like you are trying to build Yosys with the config defines set. \
|
||||||
|
When building Yosys with a custom make system, make sure you set all the \
|
||||||
|
defines the Yosys Makefile would set for your build configuration.
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef YOSYS_ENABLE_TCL
|
#ifdef YOSYS_ENABLE_TCL
|
||||||
# include <tcl.h>
|
# include <tcl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue