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.
|
||||
*/
|
||||
|
||||
#ifndef _REDIS_DEBUGMACRO_H_
|
||||
#define _REDIS_DEBUGMACRO_H_
|
||||
|
||||
#include <stdio.h>
|
||||
#define D(...) \
|
||||
do { \
|
||||
@ -39,3 +42,5 @@
|
||||
fprintf(fp,"\n"); \
|
||||
fclose(fp); \
|
||||
} while (0)
|
||||
|
||||
#endif /* _REDIS_DEBUGMACRO_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user