Commit b06c38d4 authored by Ray Donnelly's avatar Ray Donnelly Committed by Daniel Teske
Browse files

Fix caplitalization for MinGW-w64 cross compilation.



MinGW-w64 cross compilation packages always use lower-case filenames.
library name "Ws2_32" changed to "ws2_32"
include name "Windows.h" changed to "windows.h"

Change-Id: I405f2e23c3f136961f66fc5e1d0d98f760c46e2c
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 3e2e2189
......@@ -35,7 +35,7 @@
#error Must target Windows NT 5.0.1 or later for DebugBreakProcess
#endif
#include <Windows.h>
#include <windows.h>
#include <stdio.h>
/* To debug break a 64bit application under Windows, you must call
......
......@@ -24,5 +24,5 @@ SOURCES += \
$${UTILSDIR}/portlist.cpp \
$${UTILSDIR}/tcpportsgatherer.cpp
win32:LIBS += -liphlpapi -lWs2_32
win32:LIBS += -liphlpapi -lws2_32
SOURCES += main.cpp
......@@ -16,7 +16,7 @@ Application {
Properties {
condition: qbs.targetOS == "windows"
cpp.dynamicLibraries: [ "iphlpapi.lib", "Ws2_32.lib" ]
cpp.dynamicLibraries: [ "iphlpapi.lib", "ws2_32.lib" ]
}
Depends { name: "cpp" }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment