mirror of
				https://github.com/mickael-kerjean/filestash.git
				synced 2025-10-31 01:58:11 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			300 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			300 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #define HAS_DEBUG 0
 | |
| #include <time.h>
 | |
| #if HAS_DEBUG == 1
 | |
| #define DEBUG(r) (fprintf(stderr,  "[DEBUG::('" r "')(%.2Fms)]", ((double)clock() - t)/CLOCKS_PER_SEC * 1000))
 | |
| #else
 | |
| #define DEBUG(r) ((void)0)
 | |
| #endif
 | |
| 
 | |
| #define ERROR(r) (fprintf(stderr, "[ERROR:('" r "')]"))
 | |
| 
 | |
| #define min(a, b) (a > b ? b : a)
 | 
