mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Fix an issue where building with DEBUG_FD_LEAKS enabled would not work due to sorcery using calls called "open" and "close".
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@380407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -39,6 +39,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include "asterisk/netsock2.h"
|
||||
#include "asterisk/module.h"
|
||||
|
||||
/* To prevent DEBUG_FD_LEAKS from interfering with things we undef open and close */
|
||||
#undef open
|
||||
#undef close
|
||||
|
||||
/*! \brief Number of buckets for wizards (should be prime for performance reasons) */
|
||||
#define WIZARD_BUCKETS 7
|
||||
|
||||
|
Reference in New Issue
Block a user