From 22d37d84a7ab0bb4208cdc8828541a30ef0821e2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 30 Aug 2015 17:36:09 +0200 Subject: add memory allocation functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/stddef.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/stddef.h') diff --git a/include/stddef.h b/include/stddef.h index e3b98e5..275e53c 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -29,7 +29,9 @@ * way), use to indicate that a pointer does not point * to anything. */ -#define NULL ((void*)0) +#ifndef NULL +# define NULL ((void*)0) +#define /** -- cgit v1.2.3-70-g09d2