mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Check for _YOSYS_ in yosys.h
This commit is contained in:
		
							parent
							
								
									f65e1c309f
								
							
						
					
					
						commit
						1fc6208ec0
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -58,6 +58,12 @@ | |||
| #include <string.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 | ||||
| #  include <tcl.h> | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue