mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
Added IRIX compatibility code for dladdr
Original commit message from CVS: Added IRIX compatibility code for dladdr
This commit is contained in:
parent
46ac5c55c2
commit
19bb74b352
1 changed files with 22 additions and 0 deletions
|
@ -25,6 +25,28 @@
|
|||
#include "gstelement.h"
|
||||
#include "gstpad.h"
|
||||
|
||||
#if defined __sgi__
|
||||
#include <rld_interface.h>
|
||||
typedef struct DL_INFO {
|
||||
const char * dli_fname;
|
||||
void * dli_fbase;
|
||||
const char * dli_sname;
|
||||
void * dli_saddr;
|
||||
int dli_version;
|
||||
int dli_reserved1;
|
||||
long dli_reserved[4];
|
||||
} Dl_info;
|
||||
#define _RLD_DLADDR 14
|
||||
int dladdr(void *address, Dl_info *dl);
|
||||
|
||||
int dladdr(void *address, Dl_info *dl)
|
||||
{
|
||||
void *v;
|
||||
v = _rld_new_interface(_RLD_DLADDR,address,dl);
|
||||
return (int)v;
|
||||
}
|
||||
#endif
|
||||
|
||||
extern gchar *_gst_progname;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue