Unverified Commit d6e9cde5 authored by weiguo's avatar weiguo Committed by GitHub
Browse files

Supplement define guards to prevent multiple inclusion (#10246)

parent 98b3f525
...@@ -30,6 +30,9 @@ ...@@ -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 @@ ...@@ -39,3 +42,5 @@
fprintf(fp,"\n"); \ fprintf(fp,"\n"); \
fclose(fp); \ fclose(fp); \
} while (0) } while (0)
#endif /* _REDIS_DEBUGMACRO_H_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment