OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 --- a/lib/address.c
2 +++ b/lib/address.c
3 @@ -48,11 +48,12 @@
4  
5 #include "upnp.h"
6  
7 -#ifndef __USE_GNU
8 -#define __USE_GNU /* XXX for RTLD_NEXT on Linux */
9 -#endif /* !__USE_GNU */
10 #include <dlfcn.h>
11  
12 +#ifndef RTLD_NEXT
13 +#define RTLD_NEXT ((void *) -1l)
14 +#endif
15 +
16 static const char rcsid[] =
17 "$Id: address.c,v 1.288.4.4 2014/08/15 18:16:40 karls Exp $";
18  
19 --- a/dlib/interposition.c
20 +++ b/dlib/interposition.c
21 @@ -93,11 +93,12 @@ write$NOCANCEL(HAVE_PROT_WRITE_1, HAVE_P
22  
23 #endif /* HAVE_DARWIN */
24  
25 -#ifndef __USE_GNU
26 -#define __USE_GNU /* XXX for RTLD_NEXT on Linux */
27 -#endif /* !__USE_GNU */
28 #include <dlfcn.h>
29  
30 +#ifndef RTLD_NEXT
31 +#define RTLD_NEXT ((void *) -1l)
32 +#endif
33 +
34 #ifdef __COVERITY__
35 /*
36 * Coverity naturally has no idea what the function sys_foo calls does,