diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-30 17:36:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-30 17:36:09 +0200 |
commit | 22d37d84a7ab0bb4208cdc8828541a30ef0821e2 (patch) | |
tree | f4405e288fc9c37b97c574325245bdb574c4144e /include/stddef.h | |
parent | add crealloc (diff) | |
download | slibc-22d37d84a7ab0bb4208cdc8828541a30ef0821e2.tar.gz slibc-22d37d84a7ab0bb4208cdc8828541a30ef0821e2.tar.bz2 slibc-22d37d84a7ab0bb4208cdc8828541a30ef0821e2.tar.xz |
add memory allocation functions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | include/stddef.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 /** |