Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 13, 2011
1 parent 5ea8af6 commit 2678356
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsexpression.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
#include <QStringList>
#include <QVariant>
#include <QList>
#include <QDomDocument>

#include "qgsfield.h"

class QgsDistanceArea;
class QgsFeature;
class QDomDocument;
class QDomElement;

/**
Expand Down
4 changes: 4 additions & 0 deletions src/mapserver/qgshttprequesthandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ void QgsHttpRequestHandler::sendHttpResponse( QByteArray* ba, const QString& for
printf( "Content-Length: %d\n", ba->size() );
printf( "\n" );
int result = fwrite( ba->data(), ba->size(), 1, FCGI_stdout );
#ifdef QGISDEBUG
QgsDebugMsg( QString( "Sent %1 bytes" ).arg( result ) );
#else
Q_UNUSED( result );
#endif
}

QString QgsHttpRequestHandler::formatToMimeType( const QString& format ) const
Expand Down

0 comments on commit 2678356

Please sign in to comment.