Skip to content
Permalink
Browse files

fix windows build

  • Loading branch information
jef-n committed May 5, 2014
1 parent 6d5df6b commit c1c9d3f2d2ec59cde338626ab4d6c6c54d90d562
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/mapserver/qgis_map_serv.cpp
@@ -293,7 +293,11 @@ int main( int argc, char * argv[] )
{
if ( !logFile.isEmpty() )
{
setenv( "QGIS_LOG_FILE", logFile.toLocal8Bit().data(), 1 );
#ifdef Q_WS_WIN
putenv( QString( "QGIS_LOG_FILE=%1" ).arg( logFile ).toLocal8Bit().constData() );
#else
setenv( "QGIS_LOG_FILE", logFile.toLocal8Bit().constData(), 1 );
#endif
}

printRequestInfos(); //print request infos if in debug mode

0 comments on commit c1c9d3f

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