| 
																	
																	
																		
																	
																	
																 | 
																@@ -42,7 +42,7 @@ | 
															
														
														
													
														
															
																 | 
																 | 
																#include <io.h> | 
																 | 
																 | 
																#include <io.h> | 
															
														
														
													
														
															
																 | 
																 | 
																#endif | 
																 | 
																 | 
																#endif | 
															
														
														
													
														
															
																 | 
																 | 
																
  | 
																 | 
																 | 
																
  | 
															
														
														
													
														
															
																 | 
																 | 
																#if HAVE_SETCONSOLETEXTATTRIBUTE | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																#if HAVE_SETCONSOLETEXTATTRIBUTE && HAVE_GETSTDHANDLE | 
															
														
														
													
														
															
																 | 
																 | 
																#include <windows.h> | 
																 | 
																 | 
																#include <windows.h> | 
															
														
														
													
														
															
																 | 
																 | 
																#define COLOR_RED    FOREGROUND_RED | 
																 | 
																 | 
																#define COLOR_RED    FOREGROUND_RED | 
															
														
														
													
														
															
																 | 
																 | 
																#define COLOR_GREEN  FOREGROUND_GREEN | 
																 | 
																 | 
																#define COLOR_GREEN  FOREGROUND_GREEN | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																	
																	
																		
																	
																	
																 | 
																@@ -374,7 +374,7 @@ static void color_printf(int color, const char *fmt, ...) | 
															
														
														
													
														
															
																 | 
																 | 
																    static int use_color = -1; | 
																 | 
																 | 
																    static int use_color = -1; | 
															
														
														
													
														
															
																 | 
																 | 
																    va_list arg; | 
																 | 
																 | 
																    va_list arg; | 
															
														
														
													
														
															
																 | 
																 | 
																
  | 
																 | 
																 | 
																
  | 
															
														
														
													
														
															
																 | 
																 | 
																#if HAVE_SETCONSOLETEXTATTRIBUTE | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																#if HAVE_SETCONSOLETEXTATTRIBUTE && HAVE_GETSTDHANDLE | 
															
														
														
													
														
															
																 | 
																 | 
																    static HANDLE con; | 
																 | 
																 | 
																    static HANDLE con; | 
															
														
														
													
														
															
																 | 
																 | 
																    static WORD org_attributes; | 
																 | 
																 | 
																    static WORD org_attributes; | 
															
														
														
													
														
															
																 | 
																 | 
																
  | 
																 | 
																 | 
																
  | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																	
																	
																		
																	
																	
																 | 
																@@ -403,7 +403,7 @@ static void color_printf(int color, const char *fmt, ...) | 
															
														
														
													
														
															
																 | 
																 | 
																    va_end(arg); | 
																 | 
																 | 
																    va_end(arg); | 
															
														
														
													
														
															
																 | 
																 | 
																
  | 
																 | 
																 | 
																
  | 
															
														
														
													
														
															
																 | 
																 | 
																    if (use_color) { | 
																 | 
																 | 
																    if (use_color) { | 
															
														
														
													
														
															
																 | 
																 | 
																#if HAVE_SETCONSOLETEXTATTRIBUTE | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																#if HAVE_SETCONSOLETEXTATTRIBUTE && HAVE_GETSTDHANDLE | 
															
														
														
													
														
															
																 | 
																 | 
																        SetConsoleTextAttribute(con, org_attributes); | 
																 | 
																 | 
																        SetConsoleTextAttribute(con, org_attributes); | 
															
														
														
													
														
															
																 | 
																 | 
																#else | 
																 | 
																 | 
																#else | 
															
														
														
													
														
															
																 | 
																 | 
																        fprintf(stderr, "\x1b[0m"); | 
																 | 
																 | 
																        fprintf(stderr, "\x1b[0m"); | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																	
																	
																	
																 | 
																
  |