diff --git a/src/ngx_postgres_escape.c b/src/ngx_postgres_escape.c index 5adf9304..3b589741 100644 --- a/src/ngx_postgres_escape.c +++ b/src/ngx_postgres_escape.c @@ -24,7 +24,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif + #include "ngx_postgres_ddebug.h" #include "ngx_postgres_escape.h" #include "ngx_postgres_module.h" diff --git a/src/ngx_postgres_handler.c b/src/ngx_postgres_handler.c index 8f51e2de..5f2c3b72 100644 --- a/src/ngx_postgres_handler.c +++ b/src/ngx_postgres_handler.c @@ -26,7 +26,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif + #include "ngx_postgres_ddebug.h" #include "ngx_postgres_handler.h" #include "ngx_postgres_module.h" diff --git a/src/ngx_postgres_keepalive.c b/src/ngx_postgres_keepalive.c index e0f6880d..82574a53 100644 --- a/src/ngx_postgres_keepalive.c +++ b/src/ngx_postgres_keepalive.c @@ -25,7 +25,10 @@ * SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif + #include "ngx_postgres_ddebug.h" #include "ngx_postgres_keepalive.h" diff --git a/src/ngx_postgres_module.c b/src/ngx_postgres_module.c index 318c5f5d..fed41647 100644 --- a/src/ngx_postgres_module.c +++ b/src/ngx_postgres_module.c @@ -26,7 +26,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif + #include "ngx_postgres_ddebug.h" #include "ngx_postgres_escape.h" #include "ngx_postgres_handler.h" diff --git a/src/ngx_postgres_output.c b/src/ngx_postgres_output.c index 015c70da..9fd96bc0 100644 --- a/src/ngx_postgres_output.c +++ b/src/ngx_postgres_output.c @@ -26,7 +26,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif + #include "ngx_postgres_ddebug.h" #include "ngx_postgres_module.h" #include "ngx_postgres_output.h" diff --git a/src/ngx_postgres_processor.c b/src/ngx_postgres_processor.c index d007024e..2e8f0ef1 100644 --- a/src/ngx_postgres_processor.c +++ b/src/ngx_postgres_processor.c @@ -26,7 +26,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif + #include "ngx_postgres_ddebug.h" #include "ngx_postgres_output.h" #include "ngx_postgres_processor.h" diff --git a/src/ngx_postgres_rewrite.c b/src/ngx_postgres_rewrite.c index 1e316dd3..beaef097 100644 --- a/src/ngx_postgres_rewrite.c +++ b/src/ngx_postgres_rewrite.c @@ -24,7 +24,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif + #include "ngx_postgres_ddebug.h" #include "ngx_postgres_module.h" #include "ngx_postgres_rewrite.h" diff --git a/src/ngx_postgres_upstream.c b/src/ngx_postgres_upstream.c index 9732139c..c8f17492 100644 --- a/src/ngx_postgres_upstream.c +++ b/src/ngx_postgres_upstream.c @@ -26,7 +26,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif + #include "ngx_postgres_ddebug.h" #include "ngx_postgres_module.h" #include "ngx_postgres_keepalive.h" diff --git a/src/ngx_postgres_util.c b/src/ngx_postgres_util.c index 61a44ad1..f2894c1a 100644 --- a/src/ngx_postgres_util.c +++ b/src/ngx_postgres_util.c @@ -25,7 +25,9 @@ * SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif #include diff --git a/src/ngx_postgres_variable.c b/src/ngx_postgres_variable.c index 67ee2928..e7f4f381 100644 --- a/src/ngx_postgres_variable.c +++ b/src/ngx_postgres_variable.c @@ -24,7 +24,10 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef DDEBUG #define DDEBUG 0 +#endif + #include "ngx_postgres_ddebug.h" #include "ngx_postgres_module.h" #include "ngx_postgres_variable.h"