Idefisk
Tools
Tutorials
Reviews
VoIP Providers
Archives
AsteriskGuru Archives
Mailing List Archives
FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in to check your private messages
Log in
[Asterisk-Dev] __PMT use in db1-ast
AsteriskGuru Archives Forum Index
->
Asterisk-Dev
View previous topic
::
View next topic
Author
Message
asterisk-dev at lists.dig
Guest
Posted: Wed Apr 23, 2003 7:59 pm
Post subject: [Asterisk-Dev] __PMT use in db1-ast
This diff lets the Berkeley DB code build in systems that do not
define the __PMT macro
Index: db1-ast/include/compat.h
===================================================================
RCS file: /usr/cvsroot/asterisk/db1-ast/include/compat.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 compat.h
--- db1-ast/include/compat.h 12 Feb 2003 13:59:15 -0000 1.1.1.1
+++ db1-ast/include/compat.h 23 Apr 2003 20:06:27 -0000
@@ -45,5 +45,16 @@
#define MIN(_a,_b) ((_a)<(_b)?(_a):(_b))
#endif
+#ifndef __PMT
+#ifdef __P
+#define __PMT(proto) __P(proto)
+#else
+#if __STDC__
+#define __PMT(proto) proto
+#else
+#define __PMT(proto) ()
+#endif
+#endif
+#endif
#endif /* compat.h */
--
Thorsten Lockert |
tholo@sigmasoft.com
| Universe, n.:
2121 N. Lakeshore Dr. |
tholo@openbsd.org
| The problem.
Chapel Hill, NC 27514 | |
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
AsteriskGuru Archives Forum Index
->
Asterisk-Dev
All times are GMT
Page
1
of
1
Jump to:
Select a forum
Asterisk Mailing Lists
----------------
Asterisk-Users
Asterisk-Dev
Asterisk-CVS
Asterisk-Biz
Asterisk-Doc
Asterisk-BSD
Asterisk-Announce
Asterisk Call Centers
Asterisk-Video
Asterisk-Speech-Rec
Bristuff-Users
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
Powered by
phpBB
© 2001, 2005 phpBB Group