Use __libalias_version to derive the name to

pass to dlopen().
This commit is contained in:
brian 1997-09-06 11:16:02 +00:00
parent 2c126ac098
commit 3623261749

View File

@ -6,13 +6,14 @@
#include <unistd.h>
#include <stdio.h>
#include <dlfcn.h>
#include <alias.h>
#include "systems.h"
#include "mbuf.h"
#include "log.h"
#include "loadalias.h"
#include "vars.h"
#define _PATH_ALIAS "/usr/lib/libalias.so.2.3"
#define _PATH_ALIAS "/usr/lib/libalias.so." ## __libalias_version
#define off(item) ((int)&(((struct aliasHandlers *)0)->item))
#define entry(a) { off(a), "_" #a }