Skip to content

Commit 591c44e

Browse files
committed
Drop redundant macro definitions from mbfl_defs.h
These are defined by the standard include headers we already use. These cause conflicts which cause compiler warnings on some toolchains (see phpGH-17112).
1 parent 1862aff commit 591c44e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

ext/mbstring/libmbfl/mbfl/mbfl_defs.h

-12
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,6 @@
3131
#ifndef MBFL_DEFS_H
3232
#define MBFL_DEFS_H
3333

34-
#ifndef NULL
35-
#ifdef __cplusplus
36-
#define NULL (0L)
37-
#else
38-
#define NULL (void *)(0L)
39-
#endif
40-
#endif
41-
42-
#ifndef SIZE_MAX
43-
#define SIZE_MAX ((size_t)~0)
44-
#endif
45-
4634
#ifdef WIN32
4735
#ifdef MBFL_DLL_EXPORT
4836
#define MBFLAPI __declspec(dllexport)

0 commit comments

Comments
 (0)