Commit Graph

9 Commits

Author SHA1 Message Date
Rémi Denis-Courmont cc129a71d7 Remove old mail address from sources 2019-09-04 22:11:04 +03:00
Marvin Scholz 0669e8a339 upnp: Use TARGET_OS_OSX to check for macOS
TARGET_OS_MAC is actually true when building for iPhone as well,
therefore not usable in this case.
2019-05-22 02:40:07 +02:00
David Fuhrmann f3b9b41a15 upnp: Fix compilation for linux IPV6 branch 2019-05-18 18:37:10 +02:00
Luca Barbato d041a6cd3c upnp: implement getPreferedAdapter for macOS
Signed-off-by: Felix Paul Kühne <felix@feepk.net>
2019-05-18 17:35:12 +02:00
Hugo Beauzée-Luyssen 382ee82228 upnp: Fix windows build
Always include wincrypt before upnp.h
This drops the windows.h include, since it's implied by vlc_common.h
2019-01-10 17:56:53 +01:00
Shaleen Jain 92f2a45aab upnp: fix headers
Header files should be self-contained and should not have
to adhere to special conditions or include order to include the header.
Also add a header guard

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-10-28 11:21:40 +01:00
Marvin Scholz c79f552d84 services_discovery: upnp: Fix libupnp header includes
The libupnp .pc file uses -I${includedir}/upnp which means that the
way the headers were included would not result in them actually being
found in all cases due to the extraneous "upnp".
2018-07-31 14:42:50 +02:00
Shaleen Jain 902b94fcc3 upnp: include config.h from source files
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2018-06-29 13:21:12 +02:00
Shaleen Jain da4e3c45c0 upnp: move UpnpInstanceWrapper to upnp-wrapper
Move out UpnpInstanceWrapper into its own file
since it no longer has any dependencies on existing
modules and allow other modules to get references to it.
Move as well as the various helper functions that are
directly required by the UpnpInstanceWrapper class
and inline them for a small performance gain.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2018-06-29 13:19:41 +02:00