[postgis-tickets] r15551 - Ensure local POSTGIS_DEBUG_LEVEL define is effective, when set

Sandro Santilli strk at kbt.io
Fri Aug 11 00:28:14 PDT 2017


Author: strk
Date: 2017-08-11 00:28:14 -0700 (Fri, 11 Aug 2017)
New Revision: 15551

Modified:
   trunk/liblwgeom/lwstroke.c
Log:
Ensure local POSTGIS_DEBUG_LEVEL define is effective, when set

Modified: trunk/liblwgeom/lwstroke.c
===================================================================
--- trunk/liblwgeom/lwstroke.c	2017-08-10 21:08:26 UTC (rev 15550)
+++ trunk/liblwgeom/lwstroke.c	2017-08-11 07:28:14 UTC (rev 15551)
@@ -29,13 +29,15 @@
 #include <stdarg.h>
 #include <string.h>
 
-#include "liblwgeom_internal.h"
+#include "../postgis_config.h"
 
 /*#define POSTGIS_DEBUG_LEVEL 3*/
 
 #include "lwgeom_log.h"
 
+#include "liblwgeom_internal.h"
 
+
 LWGEOM* pta_unstroke(const POINTARRAY *points, int type, int srid);
 LWGEOM* lwline_unstroke(const LWLINE *line);
 LWGEOM* lwpolygon_unstroke(const LWPOLY *poly);



More information about the postgis-tickets mailing list