[Asterisk-cvs] asterisk/db1-ast/db db.c,1.2,1.3

markster at lists.digium.com markster at lists.digium.com
Mon Oct 27 13:34:39 CST 2003


Update of /usr/cvsroot/asterisk/db1-ast/db
In directory mongoose.digium.com:/tmp/cvs-serv7238/db1-ast/db

Modified Files:
	db.c 
Log Message:
More cleanups and OSX fixes for 10.3


Index: db.c
===================================================================
RCS file: /usr/cvsroot/asterisk/db1-ast/db/db.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- db.c	26 Oct 2003 18:50:49 -0000	1.2
+++ db.c	27 Oct 2003 20:00:41 -0000	1.3
@@ -44,7 +44,9 @@
 
 #include <db.h>
 
+#ifndef __APPLE__
 #define dbopen __dbopen
+#endif
 
 DB *
 dbopen(fname, flags, mode, type, openinfo)
@@ -74,8 +76,8 @@
 	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)




More information about the svn-commits mailing list