mirror of
https://github.com/transmission/transmission
synced 2025-03-03 18:25:35 +00:00
remove the ENABLE_STRNATPMPERR ifdefs to see if that'll make hudson happy
This commit is contained in:
parent
5739207640
commit
2705db2b6a
3 changed files with 0 additions and 6 deletions
2
third-party/libnatpmp/Makefile.am
vendored
2
third-party/libnatpmp/Makefile.am
vendored
|
@ -1,7 +1,5 @@
|
||||||
noinst_LIBRARIES = libnatpmp.a
|
noinst_LIBRARIES = libnatpmp.a
|
||||||
|
|
||||||
AM_CPPFLAGS = -DENABLE_STRNATPMPERR
|
|
||||||
|
|
||||||
libnatpmp_a_SOURCES = \
|
libnatpmp_a_SOURCES = \
|
||||||
getgateway.c \
|
getgateway.c \
|
||||||
natpmp.c
|
natpmp.c
|
||||||
|
|
2
third-party/libnatpmp/natpmp.c
vendored
2
third-party/libnatpmp/natpmp.c
vendored
|
@ -267,7 +267,6 @@ int readnatpmpresponseorretry(natpmp_t * p, natpmpresp_t * response)
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_STRNATPMPERR
|
|
||||||
const char * strnatpmperr(int r)
|
const char * strnatpmperr(int r)
|
||||||
{
|
{
|
||||||
const char * s;
|
const char * s;
|
||||||
|
@ -335,5 +334,4 @@ const char * strnatpmperr(int r)
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
2
third-party/libnatpmp/natpmp.h
vendored
2
third-party/libnatpmp/natpmp.h
vendored
|
@ -179,8 +179,6 @@ LIBSPEC int getnatpmprequesttimeout(natpmp_t * p, struct timeval * timeout);
|
||||||
* NATPMP_ERR_UNDEFINEDERROR */
|
* NATPMP_ERR_UNDEFINEDERROR */
|
||||||
LIBSPEC int readnatpmpresponseorretry(natpmp_t * p, natpmpresp_t * response);
|
LIBSPEC int readnatpmpresponseorretry(natpmp_t * p, natpmpresp_t * response);
|
||||||
|
|
||||||
#ifdef ENABLE_STRNATPMPERR
|
|
||||||
LIBSPEC const char * strnatpmperr(int t);
|
LIBSPEC const char * strnatpmperr(int t);
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue