]> granicus.if.org Git - php/commitdiff
Remove useless definition of NULL in mbfl_string.h
authorAlex Dowad <alexinbeijing@gmail.com>
Fri, 3 Jul 2020 20:27:50 +0000 (22:27 +0200)
committerAlex Dowad <alexinbeijing@gmail.com>
Mon, 31 Aug 2020 21:17:49 +0000 (23:17 +0200)
If NULL is not defined by the platform, mbfl_defs.h already defines it.

ext/mbstring/libmbfl/mbfl/mbfl_string.h

index d96a77cca7bfedd8ef43cf50e8fda88f2dbf24df..cdf43758bbbddde26d1319d2affa3f2fb74a6454 100644 (file)
@@ -49,8 +49,4 @@ MBFLAPI extern void mbfl_string_init(mbfl_string *string);
 MBFLAPI extern void mbfl_string_init_set(mbfl_string *string, const mbfl_encoding *encoding);
 MBFLAPI extern void mbfl_string_clear(mbfl_string *string);
 
-#ifndef NULL
-#define NULL 0
-#endif
-
 #endif /* MBFL_STRING_H */