diff options
author | jb <jb@FreeBSD.org> | 1998-03-09 07:00:38 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-03-09 07:00:38 +0000 |
commit | 1b6316f0e7789535b30312f4e524c22b900b3aa1 (patch) | |
tree | 6dff84d35e9c7e24d8ce8e691e7e33b29f5205d5 /lib | |
parent | aba00ab374621025c49c80b7b6e9a347807ea59a (diff) | |
download | FreeBSD-src-1b6316f0e7789535b30312f4e524c22b900b3aa1.zip FreeBSD-src-1b6316f0e7789535b30312f4e524c22b900b3aa1.tar.gz |
NetBSD doesn't have a utrace syscall, so don't define that if
__NETBSD_SYSCALLS is defined.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 2fb306eb..4cbca9c 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: malloc.c,v 1.33 1997/12/15 02:12:42 jb Exp $ + * $Id: malloc.c,v 1.34 1997/12/31 03:15:06 alex Exp $ * */ @@ -47,7 +47,9 @@ # define malloc_pageshift 12U # define malloc_minsize 16U # endif -# define HAS_UTRACE +# if !defined(__NETBSD_SYSCALLS) +# define HAS_UTRACE +# endif # if defined(_THREAD_SAFE) # include <pthread.h> # include "pthread_private.h" |