Skip to content

Commit 97864da

Browse files
committedMay 23, 2015
fix windows build (also reapplies 584f192, lost in a6f1ec)
1 parent 32463d0 commit 97864da

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed
 

‎CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,6 @@ ELSE (WIN32)
593593

594594
ENDIF(WIN32)
595595

596-
SET(DLLIMPORT "")
597-
598596
ADD_DEFINITIONS("-DCORE_EXPORT=${DLLIMPORT}")
599597
ADD_DEFINITIONS("-DGUI_EXPORT=${DLLIMPORT}")
600598
ADD_DEFINITIONS("-DPYTHON_EXPORT=${DLLIMPORT}")

‎src/providers/grass/qgsgrassimport.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
* (at your option) any later version. *
1414
* *
1515
***************************************************************************/
16-
#include <unistd.h>
17-
1816
#include <QByteArray>
1917
#include <QtConcurrentRun>
2018

@@ -216,7 +214,7 @@ bool QgsGrassRasterImport::import()
216214
{
217215
if ( !block->convert( qgis_out_type ) )
218216
{
219-
setError( "cannot vonvert data type" );
217+
setError( "cannot convert data type" );
220218
delete block;
221219
return false;
222220
}

0 commit comments

Comments
 (0)
Failed to load comments.