From 10a32423f87001643918b15d3b6118a29d8615d4 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Fri, 5 Sep 2003 00:13:15 +0000 Subject: * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO || FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead. --- newlib/libc/stdlib/mstats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/libc/stdlib/mstats.c') diff --git a/newlib/libc/stdlib/mstats.c b/newlib/libc/stdlib/mstats.c index 8a587b0b5..2b6c6bc19 100644 --- a/newlib/libc/stdlib/mstats.c +++ b/newlib/libc/stdlib/mstats.c @@ -110,7 +110,7 @@ _DEFUN_VOID (mallinfo) return _mallinfo_r (_REENT); } -#ifndef _ELIX_LEVEL || _ELIX_LEVEL >= 2 +#if !defined (_ELIX_LEVEL) || _ELIX_LEVEL >= 2 void _DEFUN_VOID (malloc_stats) { @@ -129,7 +129,7 @@ _DEFUN (mallopt, (p, v), #endif -#ifndef _ELIX_LEVEL || _ELIX_LEVEL >= 2 +#if !defined (_ELIX_LEVEL) || _ELIX_LEVEL >= 2 /* mstats is now compatibility code. It used to be real, for a previous version of the malloc routines. It now just calls -- cgit v1.2.3