mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Merge pull request #2507 from umarcor/fix/msys2
kernel/yosys.h: undef CONST on WIN32
This commit is contained in:
		
						commit
						f4a800899c
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -121,8 +121,9 @@ extern Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, Tcl_Obj *p
 | 
			
		|||
#    define fileno _fileno
 | 
			
		||||
#  endif
 | 
			
		||||
 | 
			
		||||
// mingw and msvc include `wingdi.h` which defines a TRANSPARENT macro
 | 
			
		||||
// that conflicts with X(TRANSPARENT) entry in kernel/constids.inc
 | 
			
		||||
// The following defines conflict with our identifiers:
 | 
			
		||||
#  undef CONST
 | 
			
		||||
// `wingdi.h` defines a TRANSPARENT macro that conflicts with X(TRANSPARENT) entry in kernel/constids.inc
 | 
			
		||||
#  undef TRANSPARENT
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue