Skip to content

Commit 8622362

Browse files
authored
Remove unused strcasecmp definition (#17050)
The strcasecmp usage was removed via dc5f3b9.
1 parent 19a8e69 commit 8622362

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

ext/mbstring/libmbfl/mbfl/mbfl_encoding.c

+1-8
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "libmbfl/config.h"
3232

3333
#ifdef HAVE_STRINGS_H
34-
/* For strcasecmp */
34+
/* For strncasecmp */
3535
#include <strings.h>
3636
#endif
3737

@@ -54,13 +54,6 @@
5454
#include "filters/mbfilter_htmlent.h"
5555
#include "filters/mbfilter_singlebyte.h"
5656

57-
#ifndef HAVE_STRCASECMP
58-
#ifdef HAVE_STRICMP
59-
#define strcasecmp stricmp
60-
#endif
61-
#endif
62-
63-
6457
static const mbfl_encoding *mbfl_encoding_ptr_list[] = {
6558
&mbfl_encoding_base64,
6659
&mbfl_encoding_uuencode,

0 commit comments

Comments
 (0)