Skip to content

Commit

Permalink
Fixes for MinGW cross-compiling from Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
RockinRoel committed Aug 21, 2018
1 parent 2449394 commit 5ae1c44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/isapi/IsapiRequest.C
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ IsapiRequest::IsapiRequest(LPEXTENSION_CONTROL_BLOCK ecb,
// Try to configure async mode (synchronous_ must be set right, also
// if only used for write)
if (ecb->ServerSupportFunction(ecb->ConnID, HSE_REQ_IO_COMPLETION,
&IsapiRequest::completionCallback, 0, (LPDWORD)this)) {
(LPVOID)&IsapiRequest::completionCallback, 0, (LPDWORD)this)) {
// Note: we don't expect this to happen
synchronous_ = false;
}
Expand Down
1 change: 1 addition & 0 deletions src/isapi/Server.C
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "Wt/WLogger"

#include <fstream>
#include <cstring>

using std::exit;
using std::strcpy;
Expand Down

0 comments on commit 5ae1c44

Please sign in to comment.