Permalink
Browse files

allow use of the DDEBUG macro from the outside (via the "-D DDEBUG=1"…

… cc opton).
  • Loading branch information...
1 parent 7e5bc4a commit 9d7a1a8611a2015d4a8e225e780959f4d97c1d44 @agentzh agentzh committed Jan 17, 2012
@@ -1,4 +1,6 @@
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
#include "ddebug.h"
#include <ngx_core.h>
@@ -1,7 +1,9 @@
/* Copyright (C) Maxim Dounin */
/* Copyright (C) agentzh */
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
#include "ddebug.h"
#include "ngx_http_drizzle_keepalive.h"
@@ -1,7 +1,9 @@
/* Copyright (C) chaoslawful */
/* Copyright (C) agentzh */
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
#include "ddebug.h"
#include "ngx_http_drizzle_module.h"
@@ -1,4 +1,6 @@
+#ifndef DDEBUG
#define DDEBUG 0
+#endif
#include "ddebug.h"
#include "ngx_http_drizzle_quoting.h"

0 comments on commit 9d7a1a8

Please sign in to comment.