Changeset 13775

Show
Ignore:
Timestamp:
02/13/08 08:37:37 (5 months ago)
Author:
tamas
Message:

Fix for the WinCE build problems.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/ogr/ogrgeometry.cpp

    r13334 r13775  
    14371437char *OGRGeometry::exportToKML() const 
    14381438{ 
     1439#ifndef _WIN32_WCE 
    14391440#ifdef OGR_ENABLED 
    14401441    return OGR_G_ExportToKML( (OGRGeometryH) this, NULL ); 
     
    14441445    return NULL; 
    14451446#endif 
     1447#else 
     1448    CPLError( CE_Failure, CPLE_AppDefined, 
     1449              "OGRGeometry::exportToKML() not supported in the WinCE build." ); 
     1450    return NULL; 
     1451#endif 
    14461452} 
    14471453 
     
    14641470char *OGRGeometry::exportToJson() const 
    14651471{ 
     1472#ifndef _WIN32_WCE 
    14661473#ifdef OGR_ENABLED 
    14671474    OGRGeometry* poGeometry = const_cast<OGRGeometry*>(this); 
     
    14701477    CPLError( CE_Failure, CPLE_AppDefined, 
    14711478              "OGRGeometry::exportToJson() not supported in builds without OGR drivers." ); 
     1479    return NULL; 
     1480#endif 
     1481#else 
     1482    CPLError( CE_Failure, CPLE_AppDefined, 
     1483              "OGRGeometry::exportToJson() not supported in the WinCE build." ); 
    14721484    return NULL; 
    14731485#endif 
  • trunk/gdal/wince/msvc80/gdalce_dll/gdalce_dll.vcproj

    r12438 r13775  
    908908                                        </File> 
    909909                                        <File 
     910                                                RelativePath="..\..\..\ogr\ogrsf_frmts\shape\shp_vsi.c" 
     911                                                > 
     912                                        </File> 
     913                                        <File 
    910914                                                RelativePath="..\..\..\ogr\ogrsf_frmts\shape\shpopen.c" 
    911915                                                >