NewbiZ / xv6

Reimplementation in ANSI C of Unix v6 + POSIX compliance + VFS + ulibc + ACPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make NULL C/C++ compliant

NewbiZ opened this issue · comments

#ifdef __cplusplus
#define NULL 0L
#else
#define NULL ((void*)0)
#endif /* __cplusplus */

Done as described