[SCM] PostGIS branch master updated. 3.5.0alpha2-26-ge3529a98c
git at osgeo.org
git at osgeo.org
Wed Aug 21 01:01:02 PDT 2024
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via e3529a98caef2a0018fea994feff2c15e270ea1b (commit)
from 0a8072199200a8323b5ddcfdcb89ed01dbd5f6b1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e3529a98caef2a0018fea994feff2c15e270ea1b
Author: Sandro Santilli <strk at kbt.io>
Date: Wed Aug 21 10:00:24 2024 +0200
Don't redefine GEOSMessageHandler typedef if compiler is not C11
See https://github.com/libgeos/geos/pull/1097#issuecomment-2299722993
diff --git a/liblwgeom/lwgeom_geos.h b/liblwgeom/lwgeom_geos.h
index d97cc83d4..c7d13d259 100644
--- a/liblwgeom/lwgeom_geos.h
+++ b/liblwgeom/lwgeom_geos.h
@@ -24,9 +24,11 @@
**********************************************************************/
#if POSTGIS_GEOS_VERSION < 31300
+#if __STDC_VERSION__ >= 201112L
/* See https://github.com/libgeos/geos/pull/1097 */
typedef void (*GEOSMessageHandler)(const char *fmt, ...) __attribute__ (( format(printf, 1, 0) ));
#endif
+#endif
#include "geos_c.h"
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/lwgeom_geos.h | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list