mirror of https://github.com/redis/redis.git
				
				
				
			Supplement define guards to prevent multiple inclusion (#10246)
This commit is contained in:
		
							parent
							
								
									98b3f52599
								
							
						
					
					
						commit
						d6e9cde595
					
				|  | @ -30,6 +30,9 @@ | ||||||
|  * POSSIBILITY OF SUCH DAMAGE. |  * POSSIBILITY OF SUCH DAMAGE. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
|  | #ifndef _REDIS_DEBUGMACRO_H_ | ||||||
|  | #define _REDIS_DEBUGMACRO_H_ | ||||||
|  | 
 | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #define D(...)                                                               \ | #define D(...)                                                               \ | ||||||
|     do {                                                                     \ |     do {                                                                     \ | ||||||
|  | @ -39,3 +42,5 @@ | ||||||
|         fprintf(fp,"\n");                                                    \ |         fprintf(fp,"\n");                                                    \ | ||||||
|         fclose(fp);                                                          \ |         fclose(fp);                                                          \ | ||||||
|     } while (0) |     } while (0) | ||||||
|  | 
 | ||||||
|  | #endif /* _REDIS_DEBUGMACRO_H_ */ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue