Skip to content

Commit b7808d0

Browse files
committed
Remove useless definition of NULL in mbfl_string.h
If NULL is not defined by the platform, mbfl_defs.h already defines it.
1 parent ea3f0ee commit b7808d0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/mbstring/libmbfl/mbfl/mbfl_string.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,4 @@ MBFLAPI extern void mbfl_string_init(mbfl_string *string);
4949
MBFLAPI extern void mbfl_string_init_set(mbfl_string *string, const mbfl_encoding *encoding);
5050
MBFLAPI extern void mbfl_string_clear(mbfl_string *string);
5151

52-
#ifndef NULL
53-
#define NULL 0
54-
#endif
55-
5652
#endif /* MBFL_STRING_H */

0 commit comments

Comments
 (0)