Commit b711b69f authored by Joerg Bornemann's avatar Joerg Bornemann
Browse files

fix defines in mdnssd.qbs



The WIN32 define was missing on Windows.

Change-Id: I22243e9384b0957b22e5df9e6d916a3bdc57e70d
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@nokia.com>
parent 3de4c3d7
...@@ -38,14 +38,18 @@ QtcTool { ...@@ -38,14 +38,18 @@ QtcTool {
Properties { Properties {
condition: qbs.targetOS === "linux" condition: qbs.targetOS === "linux"
cpp.defines: [ "_GNU_SOURCE", , "NOT_HAVE_SA_LEN", "USES_NETLINK", "HAVE_LINUX", cpp.defines: outer.concat([
"TARGET_OS_LINUX" ] "_GNU_SOURCE", "NOT_HAVE_SA_LEN",
"USES_NETLINK", "HAVE_LINUX", "TARGET_OS_LINUX"
])
} }
Properties { Properties {
condition: qbs.targetOS === "macx" condition: qbs.targetOS === "macx"
cpp.defines: [ "__MAC_OS_X_VERSION_MIN_REQUIRED=__MAC_OS_X_VERSION_10_4", cpp.defines: outer.concat([
"__APPLE_USE_RFC_2292" ] "__MAC_OS_X_VERSION_MIN_REQUIRED=__MAC_OS_X_VERSION_10_4",
"__APPLE_USE_RFC_2292"
])
} }
Group { Group {
...@@ -69,11 +73,14 @@ QtcTool { ...@@ -69,11 +73,14 @@ QtcTool {
Properties { Properties {
condition: qbs.targetOS === "windows" condition: qbs.targetOS === "windows"
cpp.defines: [ "_WIN32_WINNT=0x0501", "NDEBUG", "MDNS_DEBUGMSGS=0", "TARGET_OS_WIN32", cpp.defines: outer.concat([
"WIN32",
"_WIN32_WINNT=0x0501", "NDEBUG", "MDNS_DEBUGMSGS=0", "TARGET_OS_WIN32",
"WIN32_LEAN_AND_MEAN", "USE_TCP_LOOPBACK", "PLATFORM_NO_STRSEP", "WIN32_LEAN_AND_MEAN", "USE_TCP_LOOPBACK", "PLATFORM_NO_STRSEP",
"PLATFORM_NO_EPIPE", "PLATFORM_NO_RLIMIT", "UNICODE", "_UNICODE", "PLATFORM_NO_EPIPE", "PLATFORM_NO_RLIMIT", "UNICODE", "_UNICODE",
"_CRT_SECURE_NO_DEPRECATE", "_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1", "_CRT_SECURE_NO_DEPRECATE", "_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1",
"_LEGACY_NAT_TRAVERSAL_" ] "_LEGACY_NAT_TRAVERSAL_"
])
cpp.dynamicLibraries: [ "ws2_32.lib", "advapi32.lib", "ole32.lib", "oleaut32.lib", cpp.dynamicLibraries: [ "ws2_32.lib", "advapi32.lib", "ole32.lib", "oleaut32.lib",
"iphlpapi.lib", "netapi32.lib", "user32.lib", "powrprof.lib", "shell32.lib" ] "iphlpapi.lib", "netapi32.lib", "user32.lib", "powrprof.lib", "shell32.lib" ]
} }
......
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