mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
Don't undefine bzero()/bcopy().
This was causing build failures against external libraries that happened to use them, unless silly hacks were added to the modules that used those headers. Review: https://reviewboard.asterisk.org/r/2359/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -46,10 +46,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include <openssl/bio.h>
|
||||
#endif
|
||||
|
||||
/* Asterisk discourages the use of bzero in favor of memset, in fact if you try to use bzero it will tell you to use memset. As a result bzero has to be undefined
|
||||
* here since it is used internally by pjlib. The only other option would be to modify pjlib... which won't happen. */
|
||||
#undef bzero
|
||||
#define bzero bzero
|
||||
#include "pjlib.h"
|
||||
#include "pjlib-util.h"
|
||||
#include "pjnath.h"
|
||||
|
Reference in New Issue
Block a user