Skip to content
Permalink
Browse files

spatialite data provider - fixup

git-svn-id: http://svn.osgeo.org/qgis/trunk@10529 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
esseffe
esseffe committed Apr 11, 2009
1 parent b56f028 commit 4449ca041508e95cce68db04469b89667b6fa010
Showing with 85 additions and 51 deletions.
  1. +9 −0 src/core/CMakeLists.txt
  2. +76 −51 src/providers/spatialite/qgsspatialiteprovider.cpp
@@ -117,6 +117,15 @@ IF (WITH_INTERNAL_SPATIALITE)
ADD_DEFINITIONS(-DDLL_EXPORT)
ENDIF (WIN32)

#
# sqlite3 requires some extraflags to be defined
# in order to support:
# - huge database > 2 GB
# - RTree Spatial Index
#
ADD_DEFINITIONS(-D_LARGE_FILE=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1)
ADD_DEFINITIONS(-DSQLITE_ENABLE_RTREE=1)

SET(QGIS_CORE_SRCS
${QGIS_CORE_SRCS}
spatialite/sqlite3.c

0 comments on commit 4449ca0

Please sign in to comment.
You can’t perform that action at this time.