#ifndef _LWPGIS_DEFINES #define _LWPGIS_DEFINES /* * Define just the version numbers; otherwise we get some strange substitutions in lwpostgis.sql.in */ #define POSTGIS_PGSQL_VERSION @POSTGIS_PGSQL_VERSION@ #define POSTGIS_GEOS_VERSION @POSTGIS_GEOS_VERSION@ #define POSTGIS_PROJ_VERSION @POSTGIS_PROJ_VERSION@ /* * Define the build date and the version number * (these substitiutions are done with extra quotes sinces CPP * won't substitute within apostrophes) */ #define _POSTGIS_SQL_SELECT_POSTGIS_VERSION 'SELECT ''@POSTGIS_VERSION@''::text AS version' #define _POSTGIS_SQL_SELECT_POSTGIS_BUILD_DATE 'SELECT ''@POSTGIS_BUILD_DATE@''::text AS version' #define CREATEFUNCTION CREATE OR REPLACE FUNCTION # define _IMMUTABLE_STRICT IMMUTABLE STRICT # define _IMMUTABLE IMMUTABLE # define _STABLE_STRICT STABLE STRICT # define _STABLE STABLE # define _VOLATILE_STRICT VOLATILE STRICT # define _VOLATILE VOLATILE # define _STRICT STRICT # define _SECURITY_DEFINER SECURITY DEFINER #endif /* _LWPGIS_DEFINES */