Commit 707cff7b authored by Friedemann Kleint's avatar Friedemann Kleint

Fix compilation on Windows 64bit, MinGW

- Fix C1189: #error: You cannot use 32-bit time_t
  (_USE_32BIT_TIME_T) with _WIN64.
- Exclude mdnssd for MinGW since it does not have
  mc.exe

Change-Id: I45ddee7da827e9586a52c23474f3ad0423f17f52
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@nokia.com>
parent 2386d701
......@@ -88,7 +88,7 @@ win32 {
$$MC_FILES \
Service.rc
DEFINES += HAVE_IPV6 _WIN32_WINNT=0x0501 NDEBUG MDNS_DEBUGMSGS=0 TARGET_OS_WIN32 WIN32_LEAN_AND_MEAN USE_TCP_LOOPBACK PLATFORM_NO_STRSEP PLATFORM_NO_EPIPE PLATFORM_NO_RLIMIT UNICODE _UNICODE _CRT_SECURE_NO_DEPRECATE _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 _LEGACY_NAT_TRAVERSAL_ _USE_32BIT_TIME_T
DEFINES += HAVE_IPV6 _WIN32_WINNT=0x0501 NDEBUG MDNS_DEBUGMSGS=0 TARGET_OS_WIN32 WIN32_LEAN_AND_MEAN USE_TCP_LOOPBACK PLATFORM_NO_STRSEP PLATFORM_NO_EPIPE PLATFORM_NO_RLIMIT UNICODE _UNICODE _CRT_SECURE_NO_DEPRECATE _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 _LEGACY_NAT_TRAVERSAL_
LIBS += ws2_32.lib advapi32.lib ole32.lib oleaut32.lib iphlpapi.lib netapi32.lib user32.lib powrprof.lib shell32.lib
mc.output = ${QMAKE_FILE_BASE}.h
......
......@@ -5,7 +5,7 @@ SUBDIRS = qtpromaker \
win32 {
SUBDIRS += qtcdebugger
SUBDIRS += mdnssd
!*g++*:SUBDIRS += mdnssd
# win64interrupt only make sense for 64bit builds
ENV_CPU=$$(CPU)
ENV_LIBPATH=$$(LIBPATH)
......
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