mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Fix compile for mingw
This commit is contained in:
		
							parent
							
								
									7c06cb6157
								
							
						
					
					
						commit
						bc21e58bb5
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -117,6 +117,10 @@ extern Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, Tcl_Obj *p
 | 
				
			||||||
#    define PATH_MAX MAX_PATH
 | 
					#    define PATH_MAX MAX_PATH
 | 
				
			||||||
#    define isatty _isatty
 | 
					#    define isatty _isatty
 | 
				
			||||||
#    define fileno _fileno
 | 
					#    define fileno _fileno
 | 
				
			||||||
 | 
					#  else
 | 
				
			||||||
 | 
					//   mingw includes `wingdi.h` which defines a TRANSPARENT macro
 | 
				
			||||||
 | 
					//   that conflicts with X(TRANSPARENT) entry in kernel/constids.inc
 | 
				
			||||||
 | 
					#    undef TRANSPARENT
 | 
				
			||||||
#  endif
 | 
					#  endif
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue