diff options
author | Jeff Peeler <jpeeler@digium.com> | 2009-02-18 20:11:57 +0000 |
---|---|---|
committer | Jeff Peeler <jpeeler@digium.com> | 2009-02-18 20:11:57 +0000 |
commit | c8fe75da36d72d2fdc5ba2d0aa4031e713a1fe22 (patch) | |
tree | fd86877953d39fc69ebad3a8bb60d2f6b47635e7 /channels/h323/compat_h323.cxx | |
parent | 0fb9712a0ad6f997370e7804845dc6efd9fc3bce (diff) |
Modify h323 to build against PTLib as well as the older PWLib
Several changes in PTLib have occurred requiring build time detection. Changes
accounted for include the library name change, config option change, install
location change, and a boolean type change which is handled by ast_ptlib.h.
Also, the sed check has been modified to properly work with autoconf >= 2.62.
(closes issue #14224)
Reported by: bergolth
Patches:
asterisk-autoconf-sed.patch uploaded by bergolth (license 661)
asterisk-pwlib-v3.patch uploaded by bergolth (license 661)
Tested by: jpeeler
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323/compat_h323.cxx')
-rw-r--r-- | channels/h323/compat_h323.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/h323/compat_h323.cxx b/channels/h323/compat_h323.cxx index eec7361b2..8eb73a98e 100644 --- a/channels/h323/compat_h323.cxx +++ b/channels/h323/compat_h323.cxx @@ -38,12 +38,12 @@ MyH323TransportTCP::MyH323TransportTCP( H323EndPoint & endpoint, PIPSocket::Address binding, - BOOL listen) + PBoolean listen) : H323TransportTCP(endpoint, binding, listen) { } -BOOL MyH323TransportTCP::Connect() +PBoolean MyH323TransportTCP::Connect() { if (IsListening()) return TRUE; @@ -91,7 +91,7 @@ BOOL MyH323TransportTCP::Connect() } #endif -BOOL MyH323TransportUDP::DiscoverGatekeeper(H323Gatekeeper &gk, H323RasPDU &pdu, const H323TransportAddress &address) +PBoolean MyH323TransportUDP::DiscoverGatekeeper(H323Gatekeeper &gk, H323RasPDU &pdu, const H323TransportAddress &address) { PThread *thd = PThread::Current(); |