mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
more ifdef cleanup to match proper Linux macros
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
5
utils.c
5
utils.c
@@ -9,9 +9,6 @@
|
||||
* the GNU General Public License
|
||||
*/
|
||||
|
||||
#ifdef Linux /* For strcasestr */
|
||||
#define __USE_GNU
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
@@ -559,4 +556,4 @@ char *ast_strndup(const char *s, size_t n)
|
||||
return memcpy(new, s, len);
|
||||
}
|
||||
|
||||
#endif /* !LINUX */
|
||||
#endif /* !__linux__ */
|
||||
|
Reference in New Issue
Block a user