[svn-commits] tilghman: branch 1.4 r191220 - in /branches/1.4/channels: ./ h323/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Apr 29 18:10:57 CDT 2009


Author: tilghman
Date: Wed Apr 29 18:10:54 2009
New Revision: 191220

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=191220
Log:
Allow H.323 to compile with FDLEAK checking enabled.

Modified:
    branches/1.4/channels/chan_h323.c
    branches/1.4/channels/h323/ast_h323.cxx

Modified: branches/1.4/channels/chan_h323.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/channels/chan_h323.c?view=diff&rev=191220&r1=191219&r2=191220
==============================================================================
--- branches/1.4/channels/chan_h323.c (original)
+++ branches/1.4/channels/chan_h323.c Wed Apr 29 18:10:54 2009
@@ -102,6 +102,8 @@
 }
 #endif
 
+#undef open
+#undef close
 #include "h323/chan_h323.h"
 
 receive_digit_cb on_receive_digit;

Modified: branches/1.4/channels/h323/ast_h323.cxx
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/channels/h323/ast_h323.cxx?view=diff&rev=191220&r1=191219&r2=191220
==============================================================================
--- branches/1.4/channels/h323/ast_h323.cxx (original)
+++ branches/1.4/channels/h323/ast_h323.cxx Wed Apr 29 18:10:54 2009
@@ -25,7 +25,6 @@
  *
  * Version Info: $Id$
  */
-#include "asterisk.h"
 #define VERSION(a,b,c) ((a)*10000+(b)*100+(c))
 
 
@@ -70,6 +69,8 @@
 
 #include "compat_h323.h"
 
+#include "asterisk.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -79,6 +80,9 @@
 #ifdef __cplusplus
 }
 #endif
+
+#undef open
+#undef close
 
 #include "chan_h323.h"
 #include "ast_h323.h"




More information about the svn-commits mailing list