Skip to content

Commit 2678356

Browse files
committed
fix windows build
1 parent 5ea8af6 commit 2678356

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/core/qgsexpression.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
#include <QStringList>
2020
#include <QVariant>
2121
#include <QList>
22+
#include <QDomDocument>
2223

2324
#include "qgsfield.h"
2425

2526
class QgsDistanceArea;
2627
class QgsFeature;
27-
class QDomDocument;
2828
class QDomElement;
2929

3030
/**

src/mapserver/qgshttprequesthandler.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ void QgsHttpRequestHandler::sendHttpResponse( QByteArray* ba, const QString& for
6363
printf( "Content-Length: %d\n", ba->size() );
6464
printf( "\n" );
6565
int result = fwrite( ba->data(), ba->size(), 1, FCGI_stdout );
66+
#ifdef QGISDEBUG
6667
QgsDebugMsg( QString( "Sent %1 bytes" ).arg( result ) );
68+
#else
69+
Q_UNUSED( result );
70+
#endif
6771
}
6872

6973
QString QgsHttpRequestHandler::formatToMimeType( const QString& format ) const

0 commit comments

Comments
 (0)