Define __WINT_TYPE__ as int in NetBSD
This commit is contained in:
		
							parent
							
								
									5860b639c6
								
							
						
					
					
						commit
						6cb74ecacf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								libtcc.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								libtcc.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1161,7 +1161,7 @@ LIBTCCAPI TCCState *tcc_new(void)
 | 
			
		|||
    /* wint_t is unsigned int by default, but (signed) int on BSDs
 | 
			
		||||
       and unsigned short on windows.  Other OSes might have still
 | 
			
		||||
       other conventions, sigh.  */
 | 
			
		||||
#if defined(__FreeBSD__) || defined (__FreeBSD_kernel__)
 | 
			
		||||
#if defined(__FreeBSD__) || defined (__FreeBSD_kernel__) || defined(__NetBSD__)
 | 
			
		||||
    tcc_define_symbol(s, "__WINT_TYPE__", "int");
 | 
			
		||||
#else
 | 
			
		||||
    tcc_define_symbol(s, "__WINT_TYPE__", "unsigned int");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue