define NULL as nullptr when used in C++11 or later
authorIsmael Luceno <ismael@iodev.co.uk>
Sun, 15 Aug 2021 15:51:57 +0000 (17:51 +0200)
committerRich Felker <dalias@aerifal.cx>
Mon, 29 Nov 2021 22:45:21 +0000 (17:45 -0500)
commit98e688a9da5e7b2925dda17a2d6820dddf1fb287
tree5ed7c1b59b7688980996dfb6a2954e1b8b53bf70
parent8274aaaaa1948c50c661aa32e21b3db27a5c0eab
define NULL as nullptr when used in C++11 or later

This should be safer for casting and more compatible with existing code
bases that wrongly assume it must be defined as a pointer.
include/locale.h
include/stddef.h
include/stdio.h
include/stdlib.h
include/string.h
include/time.h
include/unistd.h
include/wchar.h