mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
strcasecmp macro moved to mbfl_compat.h.
This commit is contained in:
parent
e4f5e1da6d
commit
c8b525859d
6 changed files with 7 additions and 3 deletions
|
@ -11,4 +11,3 @@
|
|||
#define USE_WIN32_NATIVE_THREAD 1
|
||||
#define ENABLE_THREADS 1
|
||||
|
||||
#define strcasecmp(s1, s2) stricmp(s1, s2)
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#include "../config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
|
|
3
ext/mbstring/libmbfl/mbfl/mbfl_compat.h
Normal file
3
ext/mbstring/libmbfl/mbfl/mbfl_compat.h
Normal file
|
@ -0,0 +1,3 @@
|
|||
#ifndef HAVE_STRCASECMP
|
||||
#define strcasecmp(s1, s2) stricmp(s1, s2)
|
||||
#endif
|
|
@ -29,7 +29,7 @@
|
|||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#include "../config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDDEF_H
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#include "mbfl_compat.h"
|
||||
#include "mbfl_encoding.h"
|
||||
#include "mbfilter_pass.h"
|
||||
#include "mbfilter_8bit.h"
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
|
||||
#include "mbfl_encoding.h"
|
||||
#include "mbfl_language.h"
|
||||
#include "mbfl_compat.h"
|
||||
|
||||
#include "nls/nls_ja.h"
|
||||
#include "nls/nls_kr.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue