Define A_ITALIC if not defined
System ncurses on macOS doesn't define it. At least not in El Capitan.
This commit is contained in:
		
							parent
							
								
									5217f876b0
								
							
						
					
					
						commit
						95b46b8559
					
				
							
								
								
									
										4
									
								
								ui.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								ui.c
									
									
									
									
									
								
							@ -29,6 +29,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "chat.h"
 | 
					#include "chat.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef A_ITALIC
 | 
				
			||||||
 | 
					#define A_ITALIC A_NORMAL
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const int TOPIC_COLS = 512;
 | 
					static const int TOPIC_COLS = 512;
 | 
				
			||||||
static const int CHAT_LINES = 100;
 | 
					static const int CHAT_LINES = 100;
 | 
				
			||||||
static const int INPUT_COLS = 512;
 | 
					static const int INPUT_COLS = 512;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user