[Asterisk-cvs] asterisk/db1-ast/mpool mpool.c,1.3,1.4

markster at lists.digium.com markster at lists.digium.com
Mon Jun 28 16:24:36 CDT 2004


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

Modified Files:
	mpool.c 
Log Message:
Merge OSX compatibility patch (bug #1940)


Index: mpool.c
===================================================================
RCS file: /usr/cvsroot/asterisk/db1-ast/mpool/mpool.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- mpool.c	27 Oct 2003 20:00:41 -0000	1.3
+++ mpool.c	28 Jun 2004 20:10:28 -0000	1.4
@@ -50,6 +50,8 @@
 #define	__MPOOLINTERFACE_PRIVATE
 #include <mpool.h>
 
+#undef __APPLE__
+
 #ifndef __APPLE__
 #define mpool_open __mpool_open
 #define mpool_filter __mpool_filter
@@ -311,6 +313,8 @@
 	return (fsync(mp->fd) ? RET_ERROR : RET_SUCCESS);
 }
 
+#define __APPLE__
+
 #ifndef __APPLE__
 #undef mpool_open
 #undef mpool_filter




More information about the svn-commits mailing list