More cleanups and OSX fixes for 10.3

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-27 20:00:41 +00:00
parent 251e70953e
commit 0de223a1ee
12 changed files with 48 additions and 65 deletions

View File

@@ -44,7 +44,9 @@ static char sccsid[] = "@(#)db.c 8.4 (Berkeley) 2/21/94";
#include <db.h>
#ifndef __APPLE__
#define dbopen __dbopen
#endif
DB *
dbopen(fname, flags, mode, type, openinfo)
@@ -74,8 +76,8 @@ dbopen(fname, flags, mode, type, openinfo)
errno = EINVAL;
return (NULL);
}
#undef dbopen
#ifndef __APPLE__
#undef dbopen
#define weak_alias(original, alias) \
asm (".weak " #alias "\n" #alias " = " #original);
weak_alias (__dbopen, dbopen)