mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
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 GH-17112). Closes GH-17114.
This commit is contained in:
@@ -31,18 +31,6 @@
|
||||
#ifndef MBFL_DEFS_H
|
||||
#define MBFL_DEFS_H
|
||||
|
||||
#ifndef NULL
|
||||
#ifdef __cplusplus
|
||||
#define NULL (0L)
|
||||
#else
|
||||
#define NULL (void *)(0L)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ((size_t)~0)
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef MBFL_DLL_EXPORT
|
||||
#define MBFLAPI __declspec(dllexport)
|
||||
|
||||
Reference in New Issue
Block a user