* libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||

FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
This commit is contained in:
Ben Elliston 2003-09-05 00:13:15 +00:00
parent 3833944e68
commit 10a32423f8
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-09-04 Ben Elliston <bje@wasabisystems.com>
* libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
* libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.

View File

@ -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