Minimize C++ dependency
This commit is contained in:
		
							
								
								
									
										11
									
								
								src/log.h
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								src/log.h
									
									
									
									
									
								
							@@ -10,10 +10,17 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <stdarg.h>
 | 
					#include <stdarg.h>
 | 
				
			||||||
#include <stdbool.h>
 | 
					 | 
				
			||||||
#include <string.h>
 | 
					 | 
				
			||||||
#include <time.h>
 | 
					#include <time.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef bool
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define bool    int
 | 
				
			||||||
 | 
					#define true    1
 | 
				
			||||||
 | 
					#define false   0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define LOG_VERSION "0.1.0"
 | 
					#define LOG_VERSION "0.1.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef RXI_LOGC_DEFAULT_LEVEL
 | 
					#ifndef RXI_LOGC_DEFAULT_LEVEL
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user