From 04b71260790fbdee2025d522e09adb74f491a89d Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 13 Nov 2014 11:05:09 +0100 Subject: [PATCH] miniupnpc: fix LIBSPEC => MINIUPNP_LIBSPEC --- miniupnpc/miniupnpc.c | 6 +++--- miniupnpc/miniupnpc.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/miniupnpc/miniupnpc.c b/miniupnpc/miniupnpc.c index e33be50..cde9502 100644 --- a/miniupnpc/miniupnpc.c +++ b/miniupnpc/miniupnpc.c @@ -710,7 +710,7 @@ error: } /* upnpDiscover() Discover IGD device */ -LIBSPEC struct UPNPDev * +MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscover(int delay, const char * multicastif, const char * minissdpdsock, int sameport, int ipv6, @@ -734,7 +734,7 @@ upnpDiscover(int delay, const char * multicastif, } /* upnpDiscoverAll() Discover all UPnP devices */ -LIBSPEC struct UPNPDev * +MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscoverAll(int delay, const char * multicastif, const char * minissdpdsock, int sameport, int ipv6, @@ -751,7 +751,7 @@ upnpDiscoverAll(int delay, const char * multicastif, } /* upnpDiscoverDevice() Discover a specific device */ -LIBSPEC struct UPNPDev * +MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscoverDevice(const char * device, int delay, const char * multicastif, const char * minissdpdsock, int sameport, int ipv6, diff --git a/miniupnpc/miniupnpc.h b/miniupnpc/miniupnpc.h index 8e9da40..90d505c 100644 --- a/miniupnpc/miniupnpc.h +++ b/miniupnpc/miniupnpc.h @@ -60,19 +60,19 @@ upnpDiscover(int delay, const char * multicastif, int ipv6, int * error); -LIBSPEC struct UPNPDev * +MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscoverAll(int delay, const char * multicastif, const char * minissdpdsock, int sameport, int ipv6, int * error); -LIBSPEC struct UPNPDev * +MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscoverDevice(const char * device, int delay, const char * multicastif, const char * minissdpdsock, int sameport, int ipv6, int * error); -LIBSPEC struct UPNPDev * +MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscoverDevices(const char * const deviceTypes[], int delay, const char * multicastif, const char * minissdpdsock, int sameport,