Skip to content
Permalink
Browse files
fix internal spatialite build with MSVC
git-svn-id: http://svn.osgeo.org/qgis/trunk@10536 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 11, 2009
1 parent 788e654 commit e91e4dbe177cc4f9caa1ca5d2792362353760288
Showing with 5 additions and 1 deletion.
  1. +1 −1 src/core/CMakeLists.txt
  2. +4 −0 src/core/spatialite/spatialite.c
@@ -132,7 +132,7 @@ IF (WITH_INTERNAL_SPATIALITE)
spatialite/spatialite.c
)

INCLUDE_DIRECTORIES(spatialite/headers/spatialite)
INCLUDE_DIRECTORIES(BEFORE spatialite/headers/spatialite)
ENDIF (WITH_INTERNAL_SPATIALITE)

ADD_FLEX_FILES(QGIS_CORE_SRCS qgssearchstringlexer.ll)
@@ -66,7 +66,9 @@ the terms of any one of the MPL, the GPL or the LGPL.
#define LIBICONV_STATIC
#include <iconv.h>
#define LIBCHARSET_STATIC
#ifndef _MSC_VER
#include <localcharset.h>
#endif
#else /* not WINDOWS */
#ifdef __APPLE__
#include <iconv.h>
@@ -1480,6 +1482,7 @@ gaiaCleanSqlString (char *value)

/* #include <spatialite/gaiaaux.h> */

#ifndef _MSC_VER
GAIAAUX_DECLARE const char *
gaiaGetLocaleCharset ()
{
@@ -1494,6 +1497,7 @@ gaiaGetLocaleCharset ()
#endif
#endif
}
#endif

GAIAAUX_DECLARE int
gaiaConvertCharset (char **buf, const char *fromCs, const char *toCs)

0 comments on commit e91e4db

Please sign in to comment.