Make it build and run on MacOS X

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-26 18:50:49 +00:00
parent cd5bbf0f35
commit 4ce283ff18
23 changed files with 273 additions and 45 deletions

View File

@@ -75,9 +75,11 @@ dbopen(fname, flags, mode, type, openinfo)
return (NULL);
}
#undef dbopen
#ifndef __APPLE__
#define weak_alias(original, alias) \
asm (".weak " #alias "\n" #alias " = " #original);
weak_alias (__dbopen, dbopen)
#endif
static int
__dberr __P((void))