summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/sys/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/sys/malloc.h')
-rw-r--r--cpukit/libnetworking/sys/malloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/sys/malloc.h b/cpukit/libnetworking/sys/malloc.h
index ec85c1814d..4574213ee8 100644
--- a/cpukit/libnetworking/sys/malloc.h
+++ b/cpukit/libnetworking/sys/malloc.h
@@ -258,7 +258,7 @@ struct kmembuckets {
long kb_couldfree; /* over high water mark and could free */
};
-#ifdef KERNEL
+#ifdef _KERNEL
#define MINALLOCSIZE (1 << MINBUCKET)
#define BUCKETINDX(size) \
((size) <= (MINALLOCSIZE * 128) \
@@ -350,6 +350,6 @@ void *contigmalloc __P((unsigned long size, int type, int flags,
unsigned long alignment, unsigned long boundary));
void free __P((void *addr, int type));
void *malloc __P((unsigned long size, int type, int flags));
-#endif /* KERNEL */
+#endif /* _KERNEL */
#endif /* !_SYS_MALLOC_H_ */