[postgis-tickets] r14966 - Add missing LWDEBUGGF macro definition for non-debug builds
Sandro Santilli
strk at kbt.io
Thu Jun 16 06:03:58 PDT 2016
Author: strk
Date: 2016-06-16 06:03:58 -0700 (Thu, 16 Jun 2016)
New Revision: 14966
Modified:
trunk/liblwgeom/lwgeom_log.h
Log:
Add missing LWDEBUGGF macro definition for non-debug builds
Modified: trunk/liblwgeom/lwgeom_log.h
===================================================================
--- trunk/liblwgeom/lwgeom_log.h 2016-06-16 12:51:51 UTC (rev 14965)
+++ trunk/liblwgeom/lwgeom_log.h 2016-06-16 13:03:58 UTC (rev 14966)
@@ -93,6 +93,11 @@
#define LWDEBUGG(level, geom, msg) \
((void) 0)
+/* Empty prototype that can be optimised away by the compiler
+ * for non-debug builds */
+#define LWDEBUGGF(level, geom, msg) \
+ ((void) 0)
+
#endif /* POSTGIS_DEBUG_LEVEL <= 0 */
/**
More information about the postgis-tickets
mailing list